{"contracts":[{"operation":"find_slots","version":"1.0.0","title":"Find options","summary":"Returns up to three free time slots from a person's calendar. Only busy and free times are read; nothing else leaves.","modes":["personal"],"compute":"rules","source":"calendar","input":{"type":"object","additionalProperties":false,"required":["date_from","window_days","slot_minutes"],"properties":{"date_from":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"window_days":{"enum":[3,7,14]},"slot_minutes":{"enum":[30,45,60]},"days":{"enum":["weekdays","all"]},"timezone":{"type":"string","maxLength":40,"pattern":"^[A-Za-z_]+(/[A-Za-z0-9_+-]+){0,2}$"}}},"fixed":{"grid_minutes":30,"day_start":"08:00","day_end":"20:00","max_slots":3},"output":{"type":"object","additionalProperties":false,"required":["slots"],"properties":{"slots":{"type":"array","maxItems":3,"items":{"type":"object","additionalProperties":false,"required":["start","end"],"properties":{"start":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:00\\.000Z$"},"end":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:00\\.000Z$"}}}}}},"disclosure":{"max_bits_per_call":23,"calls_per_30_days":12,"bits_per_30_days":140,"cache_hours":24},"never_released":["event titles","attendees","locations","descriptions","why a time is busy"],"consent":{"gets":"Up to 3 free time slots","never_sees":"Event titles, who you meet, locations"},"hash":"0f4f066a1aa279e6"},{"operation":"rank_options","version":"1.0.0","title":"Rank candidates","summary":"Orders a list of options the app registered in advance by how well they fit the person. Only the top option IDs are released, without scores or reasons.","modes":["personal"],"compute":"ai","source":"documents","input":{"type":"object","additionalProperties":false,"required":["candidate_set","top_k"],"properties":{"candidate_set":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"top_k":{"type":"integer","minimum":1,"maximum":3}}},"fixed":{"min_candidates":3,"max_candidates":20},"output":{"type":"object","additionalProperties":false,"required":["ranking"],"properties":{"ranking":{"type":"array","minItems":1,"maxItems":3,"uniqueItems":true,"items":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"}}}},"disclosure":{"max_bits_per_call":13,"calls_per_30_days":20,"bits_per_30_days":130,"cache_hours":24},"never_released":["the documents and history used","scores","reasons","any free text"],"consent":{"gets":"Its own options, ordered by how well they suit you (top 3 only)","never_sees":"Your documents, history, or why an option ranked high"},"hash":"2dea2fe2ca8df6e4"},{"operation":"check","version":"1.0.0","title":"Check","summary":"Answers one registered yes/no question about a record the company holds, with a reason code. The record itself never reaches the agent.","modes":["company"],"compute":"rules","source":"company","input":{"type":"object","additionalProperties":false,"required":["check","params"],"properties":{"check":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"},"params":{"type":"object","maxProperties":4,"additionalProperties":{"type":"string","maxLength":64}}}},"fixed":{"max_reason_codes":15},"output":{"type":"object","additionalProperties":false,"required":["answer","reason"],"properties":{"answer":{"type":"boolean"},"reason":{"type":"string","pattern":"^[a-z0-9_]{1,40}$"}}},"disclosure":{"max_bits_per_call":4,"calls_per_30_days":5000,"bits_per_30_days":20000,"cache_hours":1},"never_released":["the customer record","names, emails, addresses","free-text notes"],"consent":{"gets":"Yes or no, plus a reason code","never_sees":"The record behind the answer"},"hash":"40e00c031d8044de"},{"operation":"aggregate","version":"1.0.0","title":"Bounded totals","summary":"Returns one registered total as a coarse range, for example monthly spend on groceries between 200 and 400. Individual rows never leave.","modes":["personal","company"],"compute":"rules","source":"transactions","input":{"type":"object","additionalProperties":false,"required":["aggregate"],"properties":{"aggregate":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"}}},"fixed":{"min_buckets":3,"max_buckets":8,"company_min_group":10},"output":{"type":"object","additionalProperties":false,"required":["bucket","from","to"],"properties":{"bucket":{"type":"integer","minimum":-1,"maximum":8},"from":{"type":["number","null"]},"to":{"type":["number","null"]}}},"disclosure":{"max_bits_per_call":4,"calls_per_30_days":30,"bits_per_30_days":60,"cache_hours":24},"never_released":["individual transactions","merchants","exact amounts","dates"],"consent":{"gets":"A few totals as rough ranges","never_sees":"Your transactions, merchants or exact amounts"},"hash":"c9b7561fbe405ce7"},{"operation":"profile","version":"1.0.0","title":"Profile facts","summary":"Releases a small set of facts the person reviewed and approved one by one. Each fact is one choice from a list the app registered in advance.","modes":["personal"],"compute":"ai_then_person_review","source":"documents","input":{"type":"object","additionalProperties":false,"required":["profile"],"properties":{"profile":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"}}},"fixed":{"max_attributes":8,"max_options":12},"output":{"type":"object","additionalProperties":false,"required":["facts"],"properties":{"facts":{"type":"object","maxProperties":8,"additionalProperties":{"type":"string","pattern":"^[a-z0-9_-]{1,40}$"}}}},"disclosure":{"max_bits_per_call":30,"calls_per_30_days":6,"bits_per_30_days":60,"cache_hours":24},"never_released":["the documents the facts came from","anything the person did not approve"],"consent":{"gets":"Only the facts you tick, exactly as shown","never_sees":"The documents behind them, or anything you leave unticked"},"hash":"6d7a428420e45d87"}]}