{"schema_version":1,"editor":"/canvas","guide":"/canvas-agent.md","submit":{"script":"await window.SpokegridCanvas.fill(templateId, data) on /canvas","dialog":"On /canvas choose Templates, then Fill with your AI, and paste {template, data}","link":"/canvas#json=<percent-encoded {template, data}>"},"rules":["Use only supplied facts. Omit unknown fields.","Data stays in the visiting browser; nothing is submitted to Spokegrid."],"templates":[{"id":"proposal","title":"Technical & commercial proposal","detail":"Cover, contents, requirements, architecture, roles, timeline and payments.","category":"Proposals","data_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"studio":{"description":"Business issuing the document","type":"string","maxLength":80},"tagline":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":80},"website":{"type":"string","maxLength":70},"client":{"description":"Client name or organisation","type":"string","maxLength":120},"reference":{"description":"Document reference number","type":"string","maxLength":40},"revision":{"type":"integer","minimum":1,"maximum":999},"date":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":150},"theme":{"type":"string","enum":["evergreen","midnight","ember","royal","mono","noir"]},"accent":{"description":"Brand colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"logo":{"type":"string","maxLength":2000000,"pattern":"^data:image\\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$"},"extraBlocks":{"description":"Additional blocks placed before sign-off; see the block list in /canvas-agent.md","maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"h1"},"text":{"type":"string","maxLength":160},"number":{"type":"string","maxLength":8}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h2"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h3"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","maxLength":20000},"tone":{"type":"string","enum":["body","lead","note"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"string","maxLength":600}},"columns":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callout"},"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"header":{"type":"boolean"},"rows":{"minItems":1,"maxItems":200,"type":"array","items":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":1000}}},"widths":{"maxItems":12,"type":"array","items":{"type":"number","minimum":0.02,"maximum":100}},"align":{"maxItems":12,"type":"array","items":{"type":"string","enum":["left","center","right"]}},"boldFirst":{"type":"boolean"},"boldLast":{"type":"boolean"}},"required":["type","rows"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"stats"},"items":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"cards":{"type":"boolean"}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}},"color":{"type":"string"}},"required":["name","values"],"additionalProperties":false}},"height":{"type":"number","minimum":60,"maximum":800},"unit":{"type":"string","maxLength":12}},"required":["type","chart","labels","series"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"gantt"},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["type","count","tasks"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"flow"},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}},"link":{"type":"string","maxLength":60}},"required":["type","columns"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"contents"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"effort"},"rate":{"type":"number","minimum":0,"maximum":10000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price":{"type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":60},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"weeks":{"maxItems":52,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":40},"hours":{"type":"number","minimum":0,"maximum":10000},"work":{"type":"string","maxLength":300}},"required":["hours","work"],"additionalProperties":false}},"payments":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","rate","currency","areas"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"payments"},"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"milestones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","total","currency","milestones"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"signatures"},"parties":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":120}},"required":["role"],"additionalProperties":false}}},"required":["type","parties"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"image"},"src":{"type":"string","maxLength":2000000},"alt":{"type":"string","maxLength":200},"height":{"type":"number","minimum":40,"maximum":900},"caption":{"type":"string","maxLength":300}},"required":["type","src"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"spacer"},"height":{"type":"number","minimum":0,"maximum":900}},"required":["type","height"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"pagebreak"}},"required":["type"],"additionalProperties":false}]}},"subtitle":{"type":"string","maxLength":500},"classification":{"type":"string","maxLength":60},"summary":{"type":"string","maxLength":4000},"applications":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"role":{"type":"string","maxLength":600}},"required":["name","role"],"additionalProperties":false}},"principles":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":600}},"requirements":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"object","properties":{"need":{"type":"string","maxLength":300},"solution":{"type":"string","maxLength":600}},"required":["need","solution"],"additionalProperties":false}},"solution":{"type":"object","properties":{"text":{"type":"string","maxLength":2000},"link":{"type":"string","maxLength":60},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}}},"additionalProperties":false},"features":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":600}},"roles":{"type":"object","properties":{"names":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","maxLength":60}},"permissions":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"feature":{"type":"string","maxLength":200},"access":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","maxLength":80}}},"required":["feature","access"],"additionalProperties":false}}},"required":["names","permissions"],"additionalProperties":false},"feasibility":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"requirement":{"type":"string","maxLength":300},"class":{"type":"string","enum":["built","reused","conditional"]},"implementation":{"type":"string","maxLength":600}},"required":["requirement","class","implementation"],"additionalProperties":false}},"notice":{"type":"object","properties":{"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["title","text"],"additionalProperties":false},"complexity":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"object","properties":{"area":{"type":"string","maxLength":200},"label":{"type":"string","maxLength":60},"level":{"type":"integer","minimum":1,"maximum":5}},"required":["area","label","level"],"additionalProperties":false}},"timeline":{"type":"object","properties":{"deliveryTime":{"type":"string","maxLength":40},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520,"description":"Periods after the start, from 0"},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["deliveryTime","count","tasks"],"additionalProperties":false},"deliverables":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"component":{"type":"string","maxLength":120},"scope":{"type":"string","maxLength":600}},"required":["component","scope"],"additionalProperties":false}},"pricing":{"type":"object","properties":{"amount":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 code, for example INR or USD"},"note":{"description":"For example: one-time, taxes excluded","type":"string","maxLength":70}},"required":["amount","currency"],"additionalProperties":false},"payments":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}},"warrantyDays":{"type":"integer","minimum":0,"maximum":3650},"exclusions":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":600}},"validDays":{"type":"integer","minimum":0,"maximum":3650},"nextSteps":{"type":"string","maxLength":2000}},"additionalProperties":false},"example":{"studio":"Your Studio","email":"hello@example.com","website":"example.com","tagline":"Design · Software engineering · Digital infrastructure","client":"Client name / organisation","reference":"PRO-100","revision":1,"date":"Add date","classification":"Confidential","title":"Customer Platform & Operations Portal","subtitle":"A branded customer application and a central management portal, connected to the systems you already use.","summary":"We propose to design, build and launch a branded customer platform that works with your existing systems. Customers get a refined experience and your team gets one place to run every location.","applications":[{"name":"Customer application","role":"A branded web application where customers book, pay and follow progress."},{"name":"Management portal","role":"A separate workspace where your team manages locations, customers, permissions and reports."}],"principles":["**Build on what exists.** Current tools and records stay in place.","**Mobile first.** Every flow works on a phone.","**Permissions by design.** Access is enforced on the server.","**Repeatable rollout.** One standard process for every location."],"requirements":[{"need":"Own branding","solution":"Fully branded customer-facing application"},{"need":"Online booking and payment","solution":"Guided booking flow with a hosted payment provider"},{"need":"Role-based access","solution":"Separate permissions for customers, staff and administrators"},{"need":"Multiple locations","solution":"Per-location settings, staff and reporting"},{"need":"Notifications","solution":"Email and in-app messages"},{"need":"Reporting","solution":"Dashboards with filters and export"}],"solution":{"text":"Two applications share one secured service layer. Customers and staff each get the interface built for their work.","link":"Secured service layer","columns":[{"title":"Customer side","nodes":[{"title":"Customers","detail":"Phone, tablet or computer"},{"title":"Customer application","detail":"Branded interface"},{"title":"Payment provider","detail":"Hosted checkout"}]},{"title":"Operations side","nodes":[{"title":"Staff and administrators","detail":"Role-based access"},{"title":"Management portal","detail":"All locations"},{"title":"Records","detail":"Reports and history"}]}]},"features":["Client logo, name and visual identity","Custom colour palette and typography","Fully branded sign-in screen","Layouts for desktop, tablet and mobile","Dashboards based on permissions","Clear loading, empty and error states"],"roles":{"names":["Administrator","Staff","Customer"],"permissions":[{"feature":"Manage staff accounts","access":["Yes","No","No"]},{"feature":"Create bookings","access":["Yes","Yes","Own"]},{"feature":"Change prices","access":["Yes","If authorized","No"]},{"feature":"View reports","access":["All locations","Assigned","No"]},{"feature":"Application configuration","access":["Full access","Limited","No"]}]},"feasibility":[{"requirement":"Branded customer interface","class":"built","implementation":"A new responsive web application"},{"requirement":"Payment processing","class":"reused","implementation":"The provider's hosted checkout"},{"requirement":"Granular permissions","class":"built","implementation":"Application-level authorization"},{"requirement":"Message delivery","class":"conditional","implementation":"Depends on the email provider and recipient settings"},{"requirement":"Record import","class":"conditional","implementation":"Depends on the quality of existing data"}],"notice":{"title":"Dependencies","text":"Third-party services are subject to their own terms, fees and availability. These are not controlled by the provider."},"complexity":[{"area":"Customer application","label":"Moderate","level":3},{"area":"Authorization and user management","label":"High","level":5},{"area":"Management portal","label":"Moderate to high","level":4},{"area":"Record import","label":"Low to moderate","level":2}],"timeline":{"deliveryTime":"5–6 weeks","count":6,"tasks":[{"label":"Discovery and design","start":0,"span":1.5},{"label":"Customer application","start":1,"span":2.5},{"label":"Management portal","start":2.5,"span":2},{"label":"Testing and handover","start":4.5,"span":1.5}]},"deliverables":[{"component":"Customer application","scope":"Branded interface, booking, accounts, payments and notifications"},{"component":"Management portal","scope":"Staff access, location management and reporting"},{"component":"Launch","scope":"Deployment, configuration, testing and documentation"}],"pricing":{"amount":130000,"currency":"INR","note":"one-time · taxes excluded"},"payments":[{"name":"Project confirmation and initiation","share":40},{"name":"Functional delivery","share":40},{"name":"Final handover","share":20}],"warrantyDays":30,"exclusions":["Native mobile applications","Custom hardware","Replacing existing accounting tools","Content writing and photography","Hosting and subscription fees","Ongoing marketing"],"validDays":15,"nextSteps":"Confirm this proposal in writing, share branding assets and arrange technical access."}},{"id":"effort","title":"Effort & timeline","detail":"Hours by area, share bars, weekly plan, Gantt and payments.","category":"Planning","data_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"studio":{"description":"Business issuing the document","type":"string","maxLength":80},"tagline":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":80},"website":{"type":"string","maxLength":70},"client":{"description":"Client name or organisation","type":"string","maxLength":120},"reference":{"description":"Document reference number","type":"string","maxLength":40},"revision":{"type":"integer","minimum":1,"maximum":999},"date":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":150},"theme":{"type":"string","enum":["evergreen","midnight","ember","royal","mono","noir"]},"accent":{"description":"Brand colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"logo":{"type":"string","maxLength":2000000,"pattern":"^data:image\\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$"},"extraBlocks":{"description":"Additional blocks placed before sign-off; see the block list in /canvas-agent.md","maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"h1"},"text":{"type":"string","maxLength":160},"number":{"type":"string","maxLength":8}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h2"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h3"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","maxLength":20000},"tone":{"type":"string","enum":["body","lead","note"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"string","maxLength":600}},"columns":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callout"},"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"header":{"type":"boolean"},"rows":{"minItems":1,"maxItems":200,"type":"array","items":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":1000}}},"widths":{"maxItems":12,"type":"array","items":{"type":"number","minimum":0.02,"maximum":100}},"align":{"maxItems":12,"type":"array","items":{"type":"string","enum":["left","center","right"]}},"boldFirst":{"type":"boolean"},"boldLast":{"type":"boolean"}},"required":["type","rows"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"stats"},"items":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"cards":{"type":"boolean"}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}},"color":{"type":"string"}},"required":["name","values"],"additionalProperties":false}},"height":{"type":"number","minimum":60,"maximum":800},"unit":{"type":"string","maxLength":12}},"required":["type","chart","labels","series"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"gantt"},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["type","count","tasks"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"flow"},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}},"link":{"type":"string","maxLength":60}},"required":["type","columns"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"contents"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"effort"},"rate":{"type":"number","minimum":0,"maximum":10000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price":{"type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":60},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"weeks":{"maxItems":52,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":40},"hours":{"type":"number","minimum":0,"maximum":10000},"work":{"type":"string","maxLength":300}},"required":["hours","work"],"additionalProperties":false}},"payments":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","rate","currency","areas"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"payments"},"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"milestones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","total","currency","milestones"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"signatures"},"parties":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":120}},"required":["role"],"additionalProperties":false}}},"required":["type","parties"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"image"},"src":{"type":"string","maxLength":2000000},"alt":{"type":"string","maxLength":200},"height":{"type":"number","minimum":40,"maximum":900},"caption":{"type":"string","maxLength":300}},"required":["type","src"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"spacer"},"height":{"type":"number","minimum":0,"maximum":900}},"required":["type","height"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"pagebreak"}},"required":["type"],"additionalProperties":false}]}},"rate":{"type":"number","minimum":0,"maximum":10000000,"description":"Price per hour"},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 code, for example INR or USD"},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"price":{"description":"Only when the agreed price differs from hours × rate","type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":40},"weekCount":{"description":"Spreads the tasks evenly across this many weeks","type":"integer","minimum":1,"maximum":52},"payments":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}},"notes":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","maxLength":600}}},"required":["rate","currency","areas"],"additionalProperties":false},"example":{"studio":"Your Studio","email":"hello@example.com","website":"example.com","reference":"EST-100","revision":1,"rate":1000,"currency":"INR","areas":[{"name":"Customer application","tasks":[{"name":"App structure, branding and design","hours":8},{"name":"Responsive screens and components","hours":12},{"name":"Booking and account flows","hours":14},{"name":"Offline, loading and error states","hours":6}]},{"name":"Management portal","tasks":[{"name":"Dashboard and admin screens","hours":10},{"name":"Location and customer management","hours":12},{"name":"Reports and filters","hours":10}]},{"name":"Services and access control","tasks":[{"name":"Sign-in and sessions","hours":10},{"name":"Roles and permissions","hours":12},{"name":"Data model and storage","hours":8}]},{"name":"Integration","tasks":[{"name":"Payments and notifications","hours":10},{"name":"Import from existing records","hours":6}]},{"name":"Launch and handover","tasks":[{"name":"Deployment and configuration","hours":5},{"name":"Testing fixes","hours":4},{"name":"Documentation and training","hours":3}]}],"deliveryTime":"5–6 weeks","weekCount":6,"payments":[{"name":"Project confirmation and initiation","share":40},{"name":"Functional delivery","share":40},{"name":"Final handover","share":20}],"notes":["The price is fixed for the agreed scope. Hours are an estimate of effort, not a limit.","Hours can move between tasks with no change to price unless scope changes.","Testing is included in each task.","Existing integrations are used as they are and are not rebuilt."]}},{"id":"agreement","title":"Service agreement","detail":"Eleven editable clauses and signature blocks.","category":"Agreements","data_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"studio":{"description":"Business issuing the document","type":"string","maxLength":80},"tagline":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":80},"website":{"type":"string","maxLength":70},"client":{"description":"Client name or organisation","type":"string","maxLength":120},"reference":{"description":"Document reference number","type":"string","maxLength":40},"revision":{"type":"integer","minimum":1,"maximum":999},"date":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":150},"theme":{"type":"string","enum":["evergreen","midnight","ember","royal","mono","noir"]},"accent":{"description":"Brand colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"logo":{"type":"string","maxLength":2000000,"pattern":"^data:image\\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$"},"extraBlocks":{"description":"Additional blocks placed before sign-off; see the block list in /canvas-agent.md","maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"h1"},"text":{"type":"string","maxLength":160},"number":{"type":"string","maxLength":8}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h2"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h3"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","maxLength":20000},"tone":{"type":"string","enum":["body","lead","note"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"string","maxLength":600}},"columns":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callout"},"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"header":{"type":"boolean"},"rows":{"minItems":1,"maxItems":200,"type":"array","items":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":1000}}},"widths":{"maxItems":12,"type":"array","items":{"type":"number","minimum":0.02,"maximum":100}},"align":{"maxItems":12,"type":"array","items":{"type":"string","enum":["left","center","right"]}},"boldFirst":{"type":"boolean"},"boldLast":{"type":"boolean"}},"required":["type","rows"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"stats"},"items":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"cards":{"type":"boolean"}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}},"color":{"type":"string"}},"required":["name","values"],"additionalProperties":false}},"height":{"type":"number","minimum":60,"maximum":800},"unit":{"type":"string","maxLength":12}},"required":["type","chart","labels","series"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"gantt"},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["type","count","tasks"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"flow"},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}},"link":{"type":"string","maxLength":60}},"required":["type","columns"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"contents"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"effort"},"rate":{"type":"number","minimum":0,"maximum":10000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price":{"type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":60},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"weeks":{"maxItems":52,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":40},"hours":{"type":"number","minimum":0,"maximum":10000},"work":{"type":"string","maxLength":300}},"required":["hours","work"],"additionalProperties":false}},"payments":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","rate","currency","areas"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"payments"},"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"milestones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","total","currency","milestones"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"signatures"},"parties":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":120}},"required":["role"],"additionalProperties":false}}},"required":["type","parties"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"image"},"src":{"type":"string","maxLength":2000000},"alt":{"type":"string","maxLength":200},"height":{"type":"number","minimum":40,"maximum":900},"caption":{"type":"string","maxLength":300}},"required":["type","src"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"spacer"},"height":{"type":"number","minimum":0,"maximum":900}},"required":["type","height"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"pagebreak"}},"required":["type"],"additionalProperties":false}]}},"provider":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"address":{"type":"string","maxLength":300}},"required":["name"],"additionalProperties":false},"customer":{"description":"The client as a legal party","type":"object","properties":{"name":{"type":"string","maxLength":120},"address":{"type":"string","maxLength":300}},"required":["name"],"additionalProperties":false},"effectiveDate":{"type":"string","maxLength":40},"jurisdiction":{"type":"string","maxLength":120},"intro":{"type":"string","maxLength":2000},"clauses":{"description":"Replaces the standard clauses","minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","maxLength":150},"text":{"type":"string","maxLength":8000}},"required":["heading","text"],"additionalProperties":false}},"additionalClauses":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","maxLength":150},"text":{"type":"string","maxLength":8000}},"required":["heading","text"],"additionalProperties":false}},"paymentDays":{"type":"integer","minimum":0,"maximum":3650},"acceptanceDays":{"type":"integer","minimum":0,"maximum":3650},"warrantyDays":{"type":"integer","minimum":0,"maximum":3650},"noticeDays":{"type":"integer","minimum":0,"maximum":3650}},"additionalProperties":false},"example":{"studio":"Your Studio","email":"hello@example.com","website":"example.com","reference":"AGR-100"}},{"id":"nda","title":"Mutual NDA","detail":"A two-way confidentiality draft.","category":"Agreements","data_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"studio":{"description":"Business issuing the document","type":"string","maxLength":80},"tagline":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":80},"website":{"type":"string","maxLength":70},"client":{"description":"Client name or organisation","type":"string","maxLength":120},"reference":{"description":"Document reference number","type":"string","maxLength":40},"revision":{"type":"integer","minimum":1,"maximum":999},"date":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":150},"theme":{"type":"string","enum":["evergreen","midnight","ember","royal","mono","noir"]},"accent":{"description":"Brand colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"logo":{"type":"string","maxLength":2000000,"pattern":"^data:image\\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$"},"extraBlocks":{"description":"Additional blocks placed before sign-off; see the block list in /canvas-agent.md","maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"h1"},"text":{"type":"string","maxLength":160},"number":{"type":"string","maxLength":8}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h2"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h3"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","maxLength":20000},"tone":{"type":"string","enum":["body","lead","note"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"string","maxLength":600}},"columns":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callout"},"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"header":{"type":"boolean"},"rows":{"minItems":1,"maxItems":200,"type":"array","items":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":1000}}},"widths":{"maxItems":12,"type":"array","items":{"type":"number","minimum":0.02,"maximum":100}},"align":{"maxItems":12,"type":"array","items":{"type":"string","enum":["left","center","right"]}},"boldFirst":{"type":"boolean"},"boldLast":{"type":"boolean"}},"required":["type","rows"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"stats"},"items":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"cards":{"type":"boolean"}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}},"color":{"type":"string"}},"required":["name","values"],"additionalProperties":false}},"height":{"type":"number","minimum":60,"maximum":800},"unit":{"type":"string","maxLength":12}},"required":["type","chart","labels","series"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"gantt"},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["type","count","tasks"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"flow"},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}},"link":{"type":"string","maxLength":60}},"required":["type","columns"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"contents"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"effort"},"rate":{"type":"number","minimum":0,"maximum":10000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price":{"type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":60},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"weeks":{"maxItems":52,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":40},"hours":{"type":"number","minimum":0,"maximum":10000},"work":{"type":"string","maxLength":300}},"required":["hours","work"],"additionalProperties":false}},"payments":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","rate","currency","areas"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"payments"},"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"milestones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","total","currency","milestones"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"signatures"},"parties":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":120}},"required":["role"],"additionalProperties":false}}},"required":["type","parties"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"image"},"src":{"type":"string","maxLength":2000000},"alt":{"type":"string","maxLength":200},"height":{"type":"number","minimum":40,"maximum":900},"caption":{"type":"string","maxLength":300}},"required":["type","src"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"spacer"},"height":{"type":"number","minimum":0,"maximum":900}},"required":["type","height"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"pagebreak"}},"required":["type"],"additionalProperties":false}]}},"provider":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"address":{"type":"string","maxLength":300}},"required":["name"],"additionalProperties":false},"customer":{"description":"The client as a legal party","type":"object","properties":{"name":{"type":"string","maxLength":120},"address":{"type":"string","maxLength":300}},"required":["name"],"additionalProperties":false},"effectiveDate":{"type":"string","maxLength":40},"jurisdiction":{"type":"string","maxLength":120},"intro":{"type":"string","maxLength":2000},"clauses":{"description":"Replaces the standard clauses","minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","maxLength":150},"text":{"type":"string","maxLength":8000}},"required":["heading","text"],"additionalProperties":false}},"additionalClauses":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"heading":{"type":"string","maxLength":150},"text":{"type":"string","maxLength":8000}},"required":["heading","text"],"additionalProperties":false}},"purpose":{"type":"string","maxLength":600},"termYears":{"type":"integer","minimum":0,"maximum":100}},"additionalProperties":false},"example":{"studio":"Your Studio","email":"hello@example.com","website":"example.com","reference":"NDA-100"}},{"id":"sow","title":"Statement of work","detail":"Deliverables, schedule, fees and sign-off.","category":"Agreements","data_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"studio":{"description":"Business issuing the document","type":"string","maxLength":80},"tagline":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":80},"website":{"type":"string","maxLength":70},"client":{"description":"Client name or organisation","type":"string","maxLength":120},"reference":{"description":"Document reference number","type":"string","maxLength":40},"revision":{"type":"integer","minimum":1,"maximum":999},"date":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":150},"theme":{"type":"string","enum":["evergreen","midnight","ember","royal","mono","noir"]},"accent":{"description":"Brand colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"logo":{"type":"string","maxLength":2000000,"pattern":"^data:image\\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$"},"extraBlocks":{"description":"Additional blocks placed before sign-off; see the block list in /canvas-agent.md","maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"h1"},"text":{"type":"string","maxLength":160},"number":{"type":"string","maxLength":8}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h2"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h3"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","maxLength":20000},"tone":{"type":"string","enum":["body","lead","note"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"string","maxLength":600}},"columns":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callout"},"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"header":{"type":"boolean"},"rows":{"minItems":1,"maxItems":200,"type":"array","items":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":1000}}},"widths":{"maxItems":12,"type":"array","items":{"type":"number","minimum":0.02,"maximum":100}},"align":{"maxItems":12,"type":"array","items":{"type":"string","enum":["left","center","right"]}},"boldFirst":{"type":"boolean"},"boldLast":{"type":"boolean"}},"required":["type","rows"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"stats"},"items":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"cards":{"type":"boolean"}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}},"color":{"type":"string"}},"required":["name","values"],"additionalProperties":false}},"height":{"type":"number","minimum":60,"maximum":800},"unit":{"type":"string","maxLength":12}},"required":["type","chart","labels","series"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"gantt"},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["type","count","tasks"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"flow"},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}},"link":{"type":"string","maxLength":60}},"required":["type","columns"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"contents"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"effort"},"rate":{"type":"number","minimum":0,"maximum":10000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price":{"type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":60},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"weeks":{"maxItems":52,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":40},"hours":{"type":"number","minimum":0,"maximum":10000},"work":{"type":"string","maxLength":300}},"required":["hours","work"],"additionalProperties":false}},"payments":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","rate","currency","areas"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"payments"},"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"milestones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","total","currency","milestones"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"signatures"},"parties":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":120}},"required":["role"],"additionalProperties":false}}},"required":["type","parties"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"image"},"src":{"type":"string","maxLength":2000000},"alt":{"type":"string","maxLength":200},"height":{"type":"number","minimum":40,"maximum":900},"caption":{"type":"string","maxLength":300}},"required":["type","src"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"spacer"},"height":{"type":"number","minimum":0,"maximum":900}},"required":["type","height"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"pagebreak"}},"required":["type"],"additionalProperties":false}]}},"agreementReference":{"type":"string","maxLength":80},"objectives":{"type":"string","maxLength":4000},"deliverables":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"criteria":{"type":"string","maxLength":600},"due":{"type":"string","maxLength":60}},"required":["name","criteria"],"additionalProperties":false}},"schedule":{"type":"object","properties":{"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520,"description":"Periods after the start, from 0"},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["count","tasks"],"additionalProperties":false},"fees":{"type":"object","properties":{"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 code, for example INR or USD"},"milestones":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["total","currency","milestones"],"additionalProperties":false},"assumptions":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":600}}},"additionalProperties":false},"example":{"studio":"Your Studio","email":"hello@example.com","website":"example.com","reference":"SOW-100","objectives":"Describe the outcome this work should achieve and how success will be judged.","deliverables":[{"name":"[Deliverable]","criteria":"[How both sides confirm it is done]","due":"[Date]"},{"name":"[Deliverable]","criteria":"[Criteria]","due":"[Date]"}],"schedule":{"count":6,"tasks":[{"label":"Discovery","start":0,"span":1},{"label":"Design","start":1,"span":2},{"label":"Build","start":2,"span":3},{"label":"Handover","start":5,"span":1}]},"fees":{"total":100000,"currency":"INR","milestones":[{"name":"Start","share":40},{"name":"Delivery","share":40},{"name":"Acceptance","share":20}]},"assumptions":["[Assumption]","[Exclusion]"]}},{"id":"quote","title":"Quotation","detail":"A priced quote with totals calculated for you.","category":"Sales","data_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"studio":{"description":"Business issuing the document","type":"string","maxLength":80},"tagline":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":80},"website":{"type":"string","maxLength":70},"client":{"description":"Client name or organisation","type":"string","maxLength":120},"reference":{"description":"Document reference number","type":"string","maxLength":40},"revision":{"type":"integer","minimum":1,"maximum":999},"date":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":150},"theme":{"type":"string","enum":["evergreen","midnight","ember","royal","mono","noir"]},"accent":{"description":"Brand colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"logo":{"type":"string","maxLength":2000000,"pattern":"^data:image\\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$"},"extraBlocks":{"description":"Additional blocks placed before sign-off; see the block list in /canvas-agent.md","maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"h1"},"text":{"type":"string","maxLength":160},"number":{"type":"string","maxLength":8}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h2"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h3"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","maxLength":20000},"tone":{"type":"string","enum":["body","lead","note"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"string","maxLength":600}},"columns":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callout"},"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"header":{"type":"boolean"},"rows":{"minItems":1,"maxItems":200,"type":"array","items":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":1000}}},"widths":{"maxItems":12,"type":"array","items":{"type":"number","minimum":0.02,"maximum":100}},"align":{"maxItems":12,"type":"array","items":{"type":"string","enum":["left","center","right"]}},"boldFirst":{"type":"boolean"},"boldLast":{"type":"boolean"}},"required":["type","rows"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"stats"},"items":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"cards":{"type":"boolean"}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}},"color":{"type":"string"}},"required":["name","values"],"additionalProperties":false}},"height":{"type":"number","minimum":60,"maximum":800},"unit":{"type":"string","maxLength":12}},"required":["type","chart","labels","series"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"gantt"},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["type","count","tasks"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"flow"},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}},"link":{"type":"string","maxLength":60}},"required":["type","columns"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"contents"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"effort"},"rate":{"type":"number","minimum":0,"maximum":10000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price":{"type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":60},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"weeks":{"maxItems":52,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":40},"hours":{"type":"number","minimum":0,"maximum":10000},"work":{"type":"string","maxLength":300}},"required":["hours","work"],"additionalProperties":false}},"payments":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","rate","currency","areas"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"payments"},"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"milestones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","total","currency","milestones"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"signatures"},"parties":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":120}},"required":["role"],"additionalProperties":false}}},"required":["type","parties"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"image"},"src":{"type":"string","maxLength":2000000},"alt":{"type":"string","maxLength":200},"height":{"type":"number","minimum":40,"maximum":900},"caption":{"type":"string","maxLength":300}},"required":["type","src"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"spacer"},"height":{"type":"number","minimum":0,"maximum":900}},"required":["type","height"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"pagebreak"}},"required":["type"],"additionalProperties":false}]}},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"ISO 4217 code, for example INR or USD"},"items":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":300},"quantity":{"type":"number","minimum":0,"maximum":100000},"rate":{"type":"number","minimum":0,"maximum":10000000000}},"required":["name","quantity","rate"],"additionalProperties":false}},"discountPercent":{"type":"number","minimum":0,"maximum":100},"taxPercent":{"type":"number","minimum":0,"maximum":100},"taxLabel":{"type":"string","maxLength":30},"validDays":{"type":"integer","minimum":0,"maximum":3650},"notes":{"type":"string","maxLength":2000}},"required":["currency","items"],"additionalProperties":false},"example":{"studio":"Your Studio","email":"hello@example.com","website":"example.com","reference":"QUO-100","theme":"midnight","currency":"INR","items":[{"name":"Website design and build","quantity":1,"rate":60000},{"name":"Content setup","quantity":1,"rate":15000}],"validDays":15,"notes":"Taxes are excluded. Third-party subscriptions are billed separately."}},{"id":"report","title":"Performance report","detail":"Stat cards, area, donut and progress charts.","category":"Reports","data_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","type":"object","properties":{"studio":{"description":"Business issuing the document","type":"string","maxLength":80},"tagline":{"type":"string","maxLength":160},"email":{"type":"string","maxLength":80},"website":{"type":"string","maxLength":70},"client":{"description":"Client name or organisation","type":"string","maxLength":120},"reference":{"description":"Document reference number","type":"string","maxLength":40},"revision":{"type":"integer","minimum":1,"maximum":999},"date":{"type":"string","maxLength":40},"title":{"type":"string","maxLength":150},"theme":{"type":"string","enum":["evergreen","midnight","ember","royal","mono","noir"]},"accent":{"description":"Brand colour","type":"string","pattern":"^#[0-9a-fA-F]{6}$"},"logo":{"type":"string","maxLength":2000000,"pattern":"^data:image\\/(png|jpeg|webp);base64,[A-Za-z0-9+/]+={0,2}$"},"extraBlocks":{"description":"Additional blocks placed before sign-off; see the block list in /canvas-agent.md","maxItems":100,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"h1"},"text":{"type":"string","maxLength":160},"number":{"type":"string","maxLength":8}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h2"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"h3"},"text":{"type":"string","maxLength":160}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"text"},"text":{"type":"string","maxLength":20000},"tone":{"type":"string","enum":["body","lead","note"]}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"bullets"},"items":{"minItems":1,"maxItems":80,"type":"array","items":{"type":"string","maxLength":600}},"columns":{"anyOf":[{"type":"number","const":1},{"type":"number","const":2}]}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"callout"},"title":{"type":"string","maxLength":120},"text":{"type":"string","maxLength":2000}},"required":["type","text"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"table"},"header":{"type":"boolean"},"rows":{"minItems":1,"maxItems":200,"type":"array","items":{"minItems":1,"maxItems":12,"type":"array","items":{"type":"string","maxLength":1000}}},"widths":{"maxItems":12,"type":"array","items":{"type":"number","minimum":0.02,"maximum":100}},"align":{"maxItems":12,"type":"array","items":{"type":"string","enum":["left","center","right"]}},"boldFirst":{"type":"boolean"},"boldLast":{"type":"boolean"}},"required":["type","rows"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"stats"},"items":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"cards":{"type":"boolean"}},"required":["type","items"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"chart"},"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}},"color":{"type":"string"}},"required":["name","values"],"additionalProperties":false}},"height":{"type":"number","minimum":60,"maximum":800},"unit":{"type":"string","maxLength":12}},"required":["type","chart","labels","series"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"gantt"},"unit":{"type":"string","maxLength":20},"count":{"type":"integer","minimum":1,"maximum":52},"tasks":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":80},"start":{"type":"number","minimum":0,"maximum":520},"span":{"type":"number","minimum":0,"maximum":520},"note":{"type":"string","maxLength":120}},"required":["label","start","span"],"additionalProperties":false}}},"required":["type","count","tasks"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"flow"},"columns":{"minItems":1,"maxItems":3,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"nodes":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"title":{"type":"string","maxLength":60},"detail":{"type":"string","maxLength":80}},"required":["title"],"additionalProperties":false}}},"required":["title","nodes"],"additionalProperties":false}},"link":{"type":"string","maxLength":60}},"required":["type","columns"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"contents"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"effort"},"rate":{"type":"number","minimum":0,"maximum":10000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"price":{"type":"number","minimum":0,"maximum":10000000000},"deliveryTime":{"type":"string","maxLength":60},"areas":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":120},"tasks":{"minItems":1,"maxItems":60,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"hours":{"type":"number","minimum":0,"maximum":100000}},"required":["name","hours"],"additionalProperties":false}}},"required":["name","tasks"],"additionalProperties":false}},"weeks":{"maxItems":52,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","maxLength":40},"hours":{"type":"number","minimum":0,"maximum":10000},"work":{"type":"string","maxLength":300}},"required":["hours","work"],"additionalProperties":false}},"payments":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","rate","currency","areas"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"payments"},"total":{"type":"number","minimum":0,"maximum":10000000000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"milestones":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":200},"share":{"type":"number","minimum":0,"maximum":100}},"required":["name","share"],"additionalProperties":false}}},"required":["type","total","currency","milestones"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"signatures"},"parties":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"object","properties":{"role":{"type":"string","maxLength":80},"name":{"type":"string","maxLength":120}},"required":["role"],"additionalProperties":false}}},"required":["type","parties"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"image"},"src":{"type":"string","maxLength":2000000},"alt":{"type":"string","maxLength":200},"height":{"type":"number","minimum":40,"maximum":900},"caption":{"type":"string","maxLength":300}},"required":["type","src"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"spacer"},"height":{"type":"number","minimum":0,"maximum":900}},"required":["type","height"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","const":"pagebreak"}},"required":["type"],"additionalProperties":false}]}},"period":{"type":"string","maxLength":80},"summary":{"type":"string","maxLength":4000},"stats":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"value":{"type":"string","maxLength":40},"label":{"type":"string","maxLength":120}},"required":["value","label"],"additionalProperties":false}},"charts":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"object","properties":{"chart":{"type":"string","enum":["bar","stacked","horizontal","line","area","donut","pie","progress"]},"title":{"type":"string","maxLength":120},"labels":{"minItems":1,"maxItems":40,"type":"array","items":{"type":"string","maxLength":60}},"series":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","maxLength":60},"values":{"maxItems":40,"type":"array","items":{"type":"number"}}},"required":["name","values"],"additionalProperties":false}},"unit":{"type":"string","maxLength":12},"height":{"type":"number","minimum":60,"maximum":800}},"required":["chart","labels","series"],"additionalProperties":false}},"highlights":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","maxLength":600}},"nextSteps":{"minItems":1,"maxItems":30,"type":"array","items":{"type":"string","maxLength":600}}},"additionalProperties":false},"example":{"studio":"Your Studio","email":"hello@example.com","website":"example.com","reference":"REP-100","theme":"ember","stats":[{"value":"12,480","label":"Visitors"},{"value":"384","label":"Enquiries"},{"value":"3.1%","label":"Conversion"},{"value":"99.9%","label":"Uptime"}],"charts":[{"chart":"area","title":"Visitors by week","labels":["Week 1","Week 2","Week 3","Week 4"],"series":[{"name":"Visitors","values":[2400,3100,2900,4080]}]},{"chart":"donut","title":"Where visitors came from","labels":["Search","Direct","Social","Referral"],"series":[{"name":"Share","values":[52,24,15,9]}],"unit":"%","height":200},{"chart":"progress","title":"Quarter goals","labels":["Content plan","Speed work","New landing pages"],"series":[{"name":"Done","values":[80,55,30]}],"unit":"%","height":150}]}}]}