{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hint-health/main/json-schema/hint-health-provider-customer-invoices-charges-controller-update-body-schema.json",
  "title": "Provider.CustomerInvoices.ChargesController.update_body",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/hint-health-customerinvoicecharge-api-openapi.yml#/components/schemas/Provider.CustomerInvoices.ChargesController.update_body",
  "type": "object",
  "properties": {
    "quantity": {
      "type": "number",
      "format": "double"
    },
    "price_in_cents": {
      "type": "number",
      "format": "double"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "date": {
      "type": "string",
      "format": "date"
    },
    "patient": {
      "$ref": "#/$defs/Association"
    },
    "practitioner": {
      "$ref": "#/$defs/Association"
    },
    "category": {
      "$ref": "#/$defs/Association"
    },
    "charge_item": {
      "$ref": "#/$defs/Association"
    },
    "location": {
      "$ref": "#/$defs/Association"
    }
  },
  "required": [
    "quantity",
    "price_in_cents",
    "name"
  ],
  "$defs": {
    "Association": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        }
      },
      "required": [
        "id"
      ]
    }
  }
}