{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/indebted/json-schema/indebted-post-v13-d132-b186-b6-f4-f7-cb4646-a8-ee7-ca5235-update-claims-request-schema.json",
  "title": "PostV13D132B186B6F4F7CB4646A8Ee7Ca5235UpdateClaimsRequest",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/indebted-openapi-generated.yml#/components/schemas/PostV13D132B186B6F4F7CB4646A8Ee7Ca5235UpdateClaimsRequest",
  "type": "object",
  "properties": {
    "<claim_reference>": {
      "type": "object",
      "description": "Key is the claim reference to resolve. The value object contains fields to update."
    },
    "amount": {
      "type": "number",
      "description": "New amount for the claim (set to 0 to resolve)."
    },
    "totalFees": {
      "type": "number",
      "description": "New total fees for the claim (set to 0 when resolving)."
    },
    "reason": {
      "type": "string",
      "description": "Reason code for the update, e.g., CLAIM_PAID."
    }
  },
  "required": [
    "<claim_reference>",
    "amount",
    "totalFees"
  ]
}