{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gnu-taler/json-schema/gnu-taler-patch-conversion-rate-classes-response-schema.json",
  "title": "PatchConversionRateClassesResponse",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/gnu-taler-openapi-generated.yml#/components/schemas/PatchConversionRateClassesResponse",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "The name of this class"
    },
    "description": {
      "type": "string",
      "description": "A description of the class"
    },
    "conversion_rate_class_id": {
      "type": "integer",
      "description": "Class unique ID"
    },
    "num_users": {
      "type": "integer",
      "description": "Number of users affected to this class"
    },
    "conversion_rate": {
      "type": "string",
      "description": "Applied conversion rate"
    },
    "cashin_min_amount": {
      "type": "string",
      "description": "Minimum fiat amount authorised for cashin before conversion"
    },
    "cashin_ratio": {
      "type": "number",
      "description": "Exchange rate to buy regional currency from fiat"
    },
    "cashin_fee": {
      "type": "string",
      "description": "Regional amount fee to subtract after applying the cashin ratio"
    },
    "cashin_rounding_mode": {
      "type": "string",
      "description": "Rounding mode used during cashin conversion"
    },
    "cashout_min_amount": {
      "type": "string",
      "description": "Minimum regional amount authorised for cashout before conversion"
    },
    "cashout_ratio": {
      "type": "number",
      "description": "Exchange rate to sell regional currency for fiat"
    },
    "cashout_fee": {
      "type": "string",
      "description": "Fiat amount fee to subtract after applying the cashout ratio"
    },
    "cashout_rounding_mode": {
      "type": "string",
      "description": "Rounding mode used during cashout conversion"
    }
  }
}