{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zywave/json-schema/zywave-cobra-rate-strategy-info-schema.json",
  "title": "CobraRateStrategyInfo",
  "description": "A COBRA strategy record",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-cobra-api-openapi.yml#/components/schemas/CobraRateStrategyInfo",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "defaultRate": {
      "description": "The default COBRA rate (as a percentage) to apply to `CobraRateRecord` values for the policy.\n            \nThe default value for this property is `102`.\n            \nThis rate is used if `OverrideDefaultRate` is `false`; it is ignored if `true`.\n            \nIf `false`, the `DefaultRate` is multiplied by the policy rate for the rate tier.",
      "default": "OneHundredTwoPercent",
      "oneOf": [
        {
          "$ref": "#/$defs/CobraRateOption"
        }
      ]
    },
    "overrideDefaultRate": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "If `true`, then the default rate is overriden in the `CobraRateRecord` values for the policy.\n            \nThe default value for this property is `false`.\n            \n**Note:** Changing this value from `false` to `true` will **OVERWRITE** the saved values.",
      "default": false
    }
  },
  "$defs": {
    "CobraRateOption": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "OneHundredPercent",
        "OneHundredOnePercent",
        "OneHundredTwoPercent"
      ],
      "enum": [
        "OneHundredPercent",
        "OneHundredOnePercent",
        "OneHundredTwoPercent"
      ]
    }
  }
}