Preview a schema registry contribution (step 1 of 2)
get_registry_contribution_reportGenerate a privacy-safe discovery report of device field names and types for patient review, then confirm before submitting to the schema registry.
Instructions
Builds the privacy-guardrailed discovery report for this account's device(s) — step 1 of contributing to the public schema registry. Contains NO real values from the account: every example is a fixed, fabricated placeholder (see docs/DESIGN.md section 2b); only field names, types, and how often each is populated are real.
CRITICAL — how to use this: show the patient the FULL entries array verbatim (every field, every example, exactly as returned — never summarise, paraphrase, or omit any of it) and the disclaimer text, then ask them to type the exact confirmation phrase in requiredPhrase if and ONLY if they have personally reviewed it and confirm it contains nothing sensitive. Do NOT proceed to submit_registry_contribution on the patient's behalf without them actually typing that phrase themselves — a paraphrase, a "yes", or your own judgement that it looks fine are not acceptable substitutes for this gate. When they do confirm, call submit_registry_contribution with confirmationPhrase set to EXACTLY what they typed and reportHash set to EXACTLY this call's own reportHash value.
Returns: generatedAt, disclaimer, requiredPhrase (the exact string the patient must type), entries (one per device component: component, deviceName, slug, discoveredAt, windowDaysActual, lowConfidence, fields), and reportHash (an opaque integrity token for the next call — not meant to be shown to the patient).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||