{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/recurly/json-schema/recurly-usage-percentage-schema.json",
  "title": "UsagePercentage",
  "description": "The percentage taken of the monetary amount of usage tracked. This can be up to 4 decimal places. A value between 0.0000 and 100. Required if `add_on_type` is usage, `usage_type` is percentage and `tier_type` = `flat`. Must be omitted otherwise. For percentage tiered add ons use the percentage_tiers object.",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/recurly-plan-add-ons-api-openapi.yml#/components/schemas/UsagePercentage",
  "type": "string",
  "pattern": "^(100(\\.0{1,4})?|\\d{1,2}(\\.\\d{1,4})?)$"
}