{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zywave/json-schema/zywave-tiered-rate-base-info-schema.json",
  "title": "TieredRateBaseInfo",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-etl-after-policy-api-openapi.yml#/components/schemas/TieredRateBaseInfo",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "rateTierType"
  ],
  "properties": {
    "rateTierType": {
      "description": "The identifier for the tier type that is tied to the tiered rate record. ",
      "oneOf": [
        {
          "$ref": "#/$defs/RateTierTypeOption"
        }
      ]
    },
    "memberCount": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The number of people included in the tiered rate.",
      "format": "int32",
      "maximum": 2147483647.0,
      "minimum": 0.0
    },
    "monthlyRate": {
      "type": [
        "number",
        "null"
      ],
      "description": "The monthly rate for the tiered rate.",
      "format": "decimal",
      "maximum": 99999.99,
      "minimum": 0.0,
      "pattern": "^\\d+\\.?\\d{0,2}$"
    }
  },
  "$defs": {
    "RateTierTypeOption": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "Employee",
        "EmployeeSpouse",
        "EmployeeChildren",
        "EmployeeFamily",
        "EmployeeChild",
        "EmployeeSpouseChild",
        "EmployeeTwoChildren",
        "EmployeeThreeChildren"
      ],
      "enum": [
        "Employee",
        "EmployeeSpouse",
        "EmployeeChildren",
        "EmployeeFamily",
        "EmployeeChild",
        "EmployeeSpouseChild",
        "EmployeeTwoChildren",
        "EmployeeThreeChildren"
      ]
    }
  }
}