{"devices":{"iphone":{"name":"iPhone 6.3″","store":"App Store","width":1206,"height":2622},"iphone-max":{"name":"iPhone 6.9″","store":"App Store","width":1320,"height":2868},"iphone-duo-outer":{"name":"iPhone Duo outer","store":"App Store","width":1398,"height":2034},"iphone-duo-inner":{"name":"iPhone Duo inner","store":"App Store","width":2007,"height":2853},"ipad":{"name":"iPad 13″","store":"App Store","width":2064,"height":2752},"android":{"name":"Android phone","store":"Google Play","width":1080,"height":1920}},"layouts":{"classic":"Classic","spotlight":"Spotlight","minimal":"Minimal","full-bleed":"Full bleed"},"themes":{"daylight":{"name":"Daylight","background":"#d9f483","gradient":"#bbdf61","foreground":"#1c2815","layout":"classic","frame":"dark"},"lilac":{"name":"Soft Lilac","background":"#e5defd","gradient":"#cbbbf7","foreground":"#291f42","layout":"minimal","frame":"light"},"midnight":{"name":"Midnight","background":"#303b30","gradient":"#182018","foreground":"#ecf4e3","layout":"spotlight","frame":"dark"},"ocean":{"name":"Ocean","background":"#cfe3ff","gradient":"#8fb8f5","foreground":"#10264a","layout":"classic","frame":"dark","motif":"arcs"},"sunset":{"name":"Sunset","background":"#ffb38a","gradient":"#ff6f91","foreground":"#3a1020","layout":"spotlight","frame":"light","motif":"rays"},"blossom":{"name":"Blossom","background":"#ffd6e0","gradient":"#f7b6c8","foreground":"#4a1a2c","layout":"minimal","frame":"light","motif":"dots"},"navy":{"name":"Deep Navy","background":"#1f2a44","gradient":"#0d1426","foreground":"#e8eeff","layout":"classic","frame":"light","motif":"grid"},"butter":{"name":"Butter","background":"#fff1b8","gradient":"#ffd86b","foreground":"#3b2c05","layout":"spotlight","frame":"dark","motif":"tiles"},"mono":{"name":"Monochrome","background":"#f2f2f0","gradient":null,"foreground":"#111111","layout":"minimal","frame":"dark","motif":"none"}},"maxImageBytes":6291456,"maxImagePixels":10000000,"maxRequestBytes":20971520,"maxSlides":10,"templates":"/api/templates","example":{"project":{"version":1,"name":"Daylight","device":"iphone","locale":"en-US","slides":[{"id":"focus","title":"Make room\nfor focus.","subtitle":"A little more headspace, every day.","background":"#d9f483","gradient":"#bbdf61","foreground":"#1c2815","layout":"classic","frame":"dark","scale":77,"image":"focus"},{"id":"progress","title":"See your\nprogress.","subtitle":"Small steps add up to something big.","background":"#e5defd","gradient":"#d3c6f6","foreground":"#291f42","layout":"classic","frame":"dark","scale":77,"image":"progress"},{"id":"habits","title":"Build better\nhabits.","subtitle":"Good days start with a small routine.","background":"#fdd8b6","gradient":"#f6be8b","foreground":"#3c251c","layout":"classic","frame":"dark","scale":77,"image":"habits"}]},"format":"zip"},"renderSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"project":{"type":"object","properties":{"version":{"type":"number","const":1},"name":{"type":"string","minLength":1,"maxLength":80},"device":{"type":"string","enum":["iphone","iphone-max","iphone-duo-outer","iphone-duo-inner","ipad","android"]},"locale":{"type":"string","pattern":"^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8}){0,3}$"},"slides":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":96},"subtitle":{"type":"string","maxLength":160},"id":{"type":"string","pattern":"^[a-z0-9-]{1,64}$"},"layout":{"type":"string","enum":["classic","spotlight","minimal","full-bleed"]},"background":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"gradient":{"anyOf":[{"type":"string","pattern":"^#[0-9a-f]{6}$"},{"type":"null"}]},"foreground":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"frame":{"type":"string","enum":["dark","light","none"]},"scale":{"type":"number","minimum":55,"maximum":100},"image":{"anyOf":[{"anyOf":[{"type":"string","enum":["focus","progress","habits"]},{"type":"string","maxLength":8388640,"pattern":"^data:image\\/(?:png|jpeg);base64,[A-Za-z0-9+/]+={0,2}$"}]},{"type":"null"}]},"translations":{"type":"object","propertyNames":{"type":"string","pattern":"^[a-z]{2,3}(?:-[A-Za-z0-9]{2,8}){0,3}$"},"additionalProperties":{"type":"object","properties":{"title":{"type":"string","maxLength":96},"subtitle":{"type":"string","maxLength":160}},"required":["title","subtitle"],"additionalProperties":false}},"coverTypography":{"type":"boolean"},"motif":{"type":"string","enum":["rings","grid","dots","arcs","tiles","rays","none"]},"sample":{"type":"object","properties":{"name":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":42},"metric":{"type":"string","maxLength":16},"label":{"type":"string","maxLength":32},"rows":{"maxItems":3,"type":"array","items":{"type":"string","maxLength":36}},"accent":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"kind":{"type":"string","enum":["stats","list","chat","media","map","shop","reader","play"]}},"required":["name","title","metric","label","rows","accent","kind"],"additionalProperties":false},"sourceArtwork":{"type":"object","properties":{"path":{"type":"string","pattern":"^\\/template-art\\/(?:studio|mockup)\\/[a-z0-9-]+\\/[0-9]+\\.png$"},"width":{"type":"integer","minimum":100,"maximum":5000},"height":{"type":"integer","minimum":100,"maximum":5000}},"required":["path","width","height"],"additionalProperties":false},"layeredArt":{"type":"object","properties":{"width":{"type":"number","minimum":50,"maximum":900},"height":{"type":"number","minimum":100,"maximum":900},"background":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"gradient":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"gradientMid":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"gradientDirection":{"type":"string","enum":["horizontal","vertical"]},"motif":{"type":"string","enum":["wave","connected","geometric","glass","grid","dots"]},"accent":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"accent2":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"backgroundImage":{"type":"string","pattern":"^\\/template-art\\/(?:studio|mockup)\\/[a-z0-9-]+\\/layers\\/[a-z0-9-]+\\.png$"},"backgroundReplacement":{"type":"string","maxLength":8388640,"pattern":"^data:image\\/(?:png|jpeg);base64,[A-Za-z0-9+/]+={0,2}$"},"layers":{"maxItems":120,"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":100},"x":{"type":"number","minimum":-3000,"maximum":5000},"y":{"type":"number","minimum":-3000,"maximum":5000},"rotation":{"default":0,"type":"number","minimum":-360,"maximum":360},"opacity":{"default":1,"type":"number","minimum":0,"maximum":1},"hidden":{"type":"boolean"},"kind":{"type":"string","const":"text"},"text":{"type":"string","maxLength":2000},"color":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"font":{"type":"string","maxLength":64,"pattern":"^[a-z0-9 _-]+$"},"size":{"type":"number","minimum":3,"maximum":250},"weight":{"type":"integer","minimum":100,"maximum":1000},"align":{"type":"string","enum":["start","middle","end"]},"boxWidth":{"type":"number","minimum":1,"maximum":900},"leading":{"type":"number","minimum":0.2,"maximum":4},"tracking":{"default":0,"type":"number","minimum":-20,"maximum":35}},"required":["id","label","x","y","rotation","opacity","kind","text","color","font","size","weight","align","leading","tracking"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","maxLength":64},"label":{"type":"string","maxLength":100},"x":{"type":"number","minimum":-3000,"maximum":5000},"y":{"type":"number","minimum":-3000,"maximum":5000},"rotation":{"default":0,"type":"number","minimum":-360,"maximum":360},"opacity":{"default":1,"type":"number","minimum":0,"maximum":1},"hidden":{"type":"boolean"},"kind":{"type":"string","enum":["image","block","device"]},"path":{"type":"string","pattern":"^\\/template-art\\/(?:studio|mockup)\\/[a-z0-9-]+\\/layers\\/[a-z0-9-]+\\.png$"},"image":{"type":"string","maxLength":8388640,"pattern":"^data:image\\/(?:png|jpeg);base64,[A-Za-z0-9+/]+={0,2}$"},"fill":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"width":{"type":"number","minimum":1,"maximum":3000},"height":{"type":"number","minimum":1,"maximum":3000},"radius":{"default":0,"type":"number","minimum":0,"maximum":500},"frame":{"default":"none","type":"string","enum":["dark","light","none"]},"effect":{"type":"boolean"},"placeholder":{"type":"string","pattern":"^#[0-9a-f]{6}$"},"placeholderLayout":{"type":"string","enum":["list","chat","tiles"]}},"required":["id","label","x","y","rotation","opacity","kind","width","height","radius","frame"],"additionalProperties":false}]}}},"required":["width","height","background","layers"],"additionalProperties":false},"placement":{"type":"object","properties":{"x":{"type":"number","minimum":-100,"maximum":100},"y":{"type":"number","minimum":-100,"maximum":100},"width":{"type":"number","minimum":4,"maximum":160},"height":{"type":"number","minimum":4,"maximum":160},"rotation":{"type":"number","minimum":-90,"maximum":90}},"required":["x","y","width","height","rotation"],"additionalProperties":false}},"required":["title","subtitle","id","layout","background","foreground","frame","scale","image"],"additionalProperties":false}}},"required":["version","name","device","locale","slides"],"additionalProperties":false},"slides":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string"}},"format":{"default":"png","type":"string","enum":["png","zip"]}},"required":["project","format"],"additionalProperties":false}}