{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"version":{"type":"number","const":1},"mode":{"type":"string","enum":["standard","qualification"]},"blocks":{"maxItems":200,"type":"array","items":{"anyOf":[{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"welcome"},"button":{"type":"string","maxLength":24},"showTimeToComplete":{"type":"boolean"}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"statement"},"button":{"type":"string","maxLength":24}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"short_text"},"maxLength":{"type":"integer","minimum":1,"maximum":10000},"pattern":{"type":"string","maxLength":300}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"long_text"},"maxLength":{"type":"integer","minimum":1,"maximum":10000},"pattern":{"type":"string","maxLength":300}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"email"},"workOnly":{"type":"boolean"}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"phone"},"defaultCountry":{"type":"string","pattern":"^[A-Za-z]{2}$"}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"website"}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"number"},"min":{"type":"number"},"max":{"type":"number"}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"choice"},"choices":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z0-9_]{1,40}$"},"label":{"type":"string","maxLength":255},"score":{"type":"number","minimum":-1000,"maximum":1000}},"required":["ref","label"],"additionalProperties":false}},"multiple":{"type":"boolean"},"minSelect":{"type":"integer","minimum":0,"maximum":100},"maxSelect":{"type":"integer","minimum":1,"maximum":100},"other":{"type":"boolean"},"noneOfAbove":{"type":"boolean"},"randomize":{"type":"boolean"}},"required":["ref","title","type","choices"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"dropdown"},"choices":{"minItems":1,"maxItems":1000,"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z0-9_]{1,40}$"},"label":{"type":"string","maxLength":255},"score":{"type":"number","minimum":-1000,"maximum":1000}},"required":["ref","label"],"additionalProperties":false}},"alphabetical":{"type":"boolean"}},"required":["ref","title","type","choices"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"yes_no"}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"consent"},"text":{"type":"string","maxLength":2000},"acceptLabel":{"type":"string","maxLength":40},"rejectLabel":{"type":"string","maxLength":40}},"required":["ref","title","type","text"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"contact_info"},"fields":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","enum":["first_name","last_name","email","phone","company","title","linkedin","website"]},"label":{"type":"string","maxLength":100},"enabled":{"type":"boolean"},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]}},"required":["ref","label","enabled","required"],"additionalProperties":false}}},"required":["ref","title","type","fields"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","enum":["rating","opinion_scale","nps"]},"steps":{"type":"integer","minimum":3,"maximum":11},"startAtOne":{"type":"boolean"},"labels":{"type":"object","properties":{"left":{"type":"string","maxLength":40},"center":{"type":"string","maxLength":40},"right":{"type":"string","maxLength":40}},"additionalProperties":false}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"date"},"format":{"type":"string","enum":["DMY","MDY","YMD"]},"min":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"max":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"required":["ref","title","type"],"additionalProperties":false},{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"required":{"type":"boolean"},"placeholder":{"type":"string","maxLength":200},"prefill":{"type":"object","properties":{"param":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"},"mode":{"type":"string","enum":["show","skip","lock"]}},"additionalProperties":false},"map":{"anyOf":[{"anyOf":[{"type":"string","enum":["email","full_name","first_name","last_name","company","title","phone","domain","linkedin_url","location"]},{"type":"string","pattern":"^custom:[a-z0-9_]{1,60}$"}]},{"type":"null"}]},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},"type":{"type":"string","const":"partial_submit"}},"required":["ref","title","type"],"additionalProperties":false}]}},"endings":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"ref":{"type":"string","pattern":"^[a-z0-9_]{1,40}$"},"type":{"type":"string","enum":["screen","redirect"]},"title":{"type":"string","maxLength":500},"description":{"type":"string","maxLength":2000},"button":{"anyOf":[{"type":"object","properties":{"label":{"type":"string","maxLength":40},"url":{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"}},"required":["label","url"],"additionalProperties":false},{"type":"null"}]},"url":{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},"appendAnswers":{"type":"boolean"},"design":{"anyOf":[{"type":"object","properties":{"layout":{"type":"string","enum":["stack","split-left","split-right","banner"]},"image":{"anyOf":[{"type":"string","maxLength":2000,"pattern":"^https:\\/\\/"},{"type":"null"}]},"background":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"pattern":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["none","dots","grid","diagonal","waves","checks","rings","plus","gradient","mesh"]},"scale":{"type":"number","minimum":8,"maximum":64},"opacity":{"type":"number","minimum":0,"maximum":1},"color":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]},"color2":{"anyOf":[{"type":"string","pattern":"^#[0-9a-fA-F]{6}$"},{"type":"null"}]}},"required":["kind"],"additionalProperties":false},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]}},"required":["ref","type"],"additionalProperties":false}},"logic":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"block":{"type":"string","maxLength":40},"hideWhen":{"anyOf":[{"type":"object","properties":{"mode":{"type":"string","enum":["all","any"]},"items":{"maxItems":20,"type":"array","items":{"anyOf":[{"type":"object","properties":{"left":{"anyOf":[{"type":"object","properties":{"block":{"type":"string","maxLength":40},"field":{"type":"string","maxLength":40}},"required":["block"],"additionalProperties":false},{"type":"object","properties":{"hidden":{"type":"string","maxLength":60}},"required":["hidden"],"additionalProperties":false},{"type":"object","properties":{"var":{"type":"string","maxLength":40}},"required":["var"],"additionalProperties":false}]},"op":{"type":"string","enum":["is","is_not","contains","not_contains","begins_with","ends_with","empty","not_empty","domain_is","work_email","eq","neq","lt","lte","gt","gte","includes_any","includes_all","includes_none","before","on_or_before","after","on_or_after","is_true","is_false","answered","skipped"]},"right":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"},{"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},{"type":"null"}]}},"required":["left","op"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["all","any"]},"items":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"left":{"anyOf":[{"type":"object","properties":{"block":{"type":"string","maxLength":40},"field":{"type":"string","maxLength":40}},"required":["block"],"additionalProperties":false},{"type":"object","properties":{"hidden":{"type":"string","maxLength":60}},"required":["hidden"],"additionalProperties":false},{"type":"object","properties":{"var":{"type":"string","maxLength":40}},"required":["var"],"additionalProperties":false}]},"op":{"type":"string","enum":["is","is_not","contains","not_contains","begins_with","ends_with","empty","not_empty","domain_is","work_email","eq","neq","lt","lte","gt","gte","includes_any","includes_all","includes_none","before","on_or_before","after","on_or_after","is_true","is_false","answered","skipped"]},"right":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"},{"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},{"type":"null"}]}},"required":["left","op"],"additionalProperties":false}}},"required":["mode","items"],"additionalProperties":false}]}}},"required":["mode","items"],"additionalProperties":false},{"type":"null"}]},"rules":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":40},"when":{"type":"object","properties":{"mode":{"type":"string","enum":["all","any"]},"items":{"maxItems":20,"type":"array","items":{"anyOf":[{"type":"object","properties":{"left":{"anyOf":[{"type":"object","properties":{"block":{"type":"string","maxLength":40},"field":{"type":"string","maxLength":40}},"required":["block"],"additionalProperties":false},{"type":"object","properties":{"hidden":{"type":"string","maxLength":60}},"required":["hidden"],"additionalProperties":false},{"type":"object","properties":{"var":{"type":"string","maxLength":40}},"required":["var"],"additionalProperties":false}]},"op":{"type":"string","enum":["is","is_not","contains","not_contains","begins_with","ends_with","empty","not_empty","domain_is","work_email","eq","neq","lt","lte","gt","gte","includes_any","includes_all","includes_none","before","on_or_before","after","on_or_after","is_true","is_false","answered","skipped"]},"right":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"},{"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},{"type":"null"}]}},"required":["left","op"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","enum":["all","any"]},"items":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"left":{"anyOf":[{"type":"object","properties":{"block":{"type":"string","maxLength":40},"field":{"type":"string","maxLength":40}},"required":["block"],"additionalProperties":false},{"type":"object","properties":{"hidden":{"type":"string","maxLength":60}},"required":["hidden"],"additionalProperties":false},{"type":"object","properties":{"var":{"type":"string","maxLength":40}},"required":["var"],"additionalProperties":false}]},"op":{"type":"string","enum":["is","is_not","contains","not_contains","begins_with","ends_with","empty","not_empty","domain_is","work_email","eq","neq","lt","lte","gt","gte","includes_any","includes_all","includes_none","before","on_or_before","after","on_or_after","is_true","is_false","answered","skipped"]},"right":{"anyOf":[{"type":"string","maxLength":1000},{"type":"number"},{"type":"boolean"},{"maxItems":100,"type":"array","items":{"type":"string","maxLength":100}},{"type":"null"}]}},"required":["left","op"],"additionalProperties":false}}},"required":["mode","items"],"additionalProperties":false}]}}},"required":["mode","items"],"additionalProperties":false},"do":{"minItems":1,"maxItems":20,"type":"array","items":{"anyOf":[{"type":"object","properties":{"type":{"type":"string","const":"jump"},"to":{"type":"string","maxLength":60}},"required":["type","to"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"calc"},"op":{"type":"string","enum":["add","subtract","multiply","divide","set"]},"var":{"type":"string","maxLength":40},"value":{"anyOf":[{"type":"number"},{"type":"object","properties":{"var":{"type":"string","maxLength":40}},"required":["var"],"additionalProperties":false}]}},"required":["type","op","var","value"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"tag"},"tag":{"type":"string","minLength":1,"maxLength":60}},"required":["type","tag"],"additionalProperties":false}]}}},"required":["id","when","do"],"additionalProperties":false}},"otherwise":{"type":"string","maxLength":60}},"required":["block","rules"],"additionalProperties":false}},"hidden":{"maxItems":50,"type":"array","items":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,60}$"}},"variables":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,39}$"},"type":{"type":"string","enum":["number","text"]},"initial":{"anyOf":[{"type":"number"},{"type":"string","maxLength":200}]}},"required":["key","type","initial"],"additionalProperties":false}},"qualification":{"anyOf":[{"type":"object","properties":{"hot":{"type":"number"},"warm":{"type":"number"},"endings":{"type":"object","properties":{"hot":{"type":"string"},"warm":{"type":"string"},"cold":{"type":"string"}},"additionalProperties":false},"status":{"type":"object","properties":{"hot":{"type":"string","enum":["new","qualified","contacted","disqualified"]},"warm":{"type":"string","enum":["new","qualified","contacted","disqualified"]},"cold":{"type":"string","enum":["new","qualified","contacted","disqualified"]}},"additionalProperties":false}},"required":["hot","warm"],"additionalProperties":false},{"type":"null"}]}},"required":["version","mode","blocks","endings","logic","hidden","variables"],"additionalProperties":false,"$id":"https://embed.usemanypi.eu/schemas/form.v1.json","title":"ManyPI form definition v1"}