{"id":"revops-risk-register-json-allowed-types","audience":"revops","category":"sales-work","technique":"format","track":"sales","level":"advanced","title":"Build a deal risk register in JSON using only allowed risk types","free":false,"task":"Convert the deal notes into one fenced JSON array with one object per deal, one object per line. Keys: deal (string), amount_k (number, no quotes), risk_type (one of legal, budget, champion, competitor, timing, using the first risk named in the note), owner (string). At most 6 non-empty lines inside the code block and at most 10 words outside it.","materialLabel":"Manager's deal notes (attached to your prompt automatically)","material":"Manager Rosa's risk notes (Nov 6), amounts in $K:\n\n1. Avalon Freight, 180. \"Legal review not started; also the CFO is on leave.\" Owner: Rosa.\n2. Birch Labs, 110. \"Champion left the company in October; budget also unclear.\" Owner: Tom.\n3. Cardinal Foods, 90. \"Dispatchly is in the deal; timing is tight too.\" Owner: Rosa.\n4. Delta Mills, 100. \"Budget frozen until Q1.\" Owner: Ines.\n\nThe old register used labels like 'people' and 'money' for these.\nAmounts are in thousands; keep them as plain numbers like 180.","rules":[{"type":"codeBlocks","count":1},{"type":"maxCodeLines","max":6},{"type":"maxProseWords","max":10}],"mistakes":[{"title":"Quoting numbers","why":"The AI writes \"180\" as a string.","fix":"Add: \"amount_k is a number, no quotes.\"","checks":["r2"]},{"title":"Using other risk types","why":"The AI writes people or money from the old register.","fix":"Add: \"Use only legal, budget, champion, competitor, timing.\"","checks":["r1"]},{"title":"Picking the wrong risk","why":"The AI chooses the most severe.","fix":"Add: \"Use the first risk named in each note.\"","checks":["r1"]},{"title":"Pretty-printed JSON","why":"The AI spreads each object over many lines.","fix":"Add: \"One object per line, at most 6 lines.\"","checks":["maxCodeLines","codeBlocks","maxProseWords","r0"]}],"promptHints":[{"label":"Names the keys","patterns":["deal","amount_k","risk_type","owner"]},{"label":"Fixes types","patterns":["number","no quotes"]},{"label":"Lists the allowed values","patterns":["legal","budget","champion","competitor","timing"]},{"label":"Uses the first risk","patterns":["first risk","first named"]},{"label":"Limits lines","patterns":["one object per line","6 lines","at most \\d+"]}],"hint":"Name the keys and types, list the allowed values and say one object per line.","rubricLabels":["The code block is a JSON array with exactly 4 objects, one object per line, each with keys deal, amount_k, risk_type and owner","The risk_type values are Avalon legal, Birch champion, Cardinal competitor, Delta budget, all lowercase","amount_k values are the numbers 180, 110, 90 and 100 without quotes, and owners are Rosa, Tom, Rosa and Ines"]}