{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/medbillanalyzer-com/json-schema/medbillanalyzer-com-finding-preview-schema.json",
  "title": "FindingPreview",
  "description": "One finding, as it appears before the case is unlocked. Three fields, all free: what it is about, how firm it is, and how much it concerns. The explanation, what to ask for, who to ask and the statute are the paid part and are absent here.",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/medbillanalyzer-com-openapi.json#/components/schemas/FindingPreview",
  "type": "object",
  "required": [
    "title",
    "tier",
    "amount"
  ],
  "properties": {
    "title": {
      "type": "string",
      "description": "What the finding is about, in the patient's terms, e.g. \"The bill asks for more than your plan says you owe\". It names the disagreement; it does not resolve it."
    },
    "tier": {
      "type": "string",
      "enum": [
        "discrepancy",
        "worth_asking"
      ],
      "description": "The only confidence signal this product publishes, and a grounded one: `discrepancy` means the two documents state different things and the patient can verify that against their own paper; `worth_asking` means it is a question, not a contradiction. Neither is a claim that the provider is wrong — a bill can be correct and still produce findings. Do not convert these into a percentage."
    },
    "amount": {
      "type": [
        "string",
        "null"
      ],
      "description": "Formatted, e.g. \"$200.00\", or null when the finding carries no amount. Never sum these."
    }
  }
}