{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zywave/json-schema/zywave-benefit-item-value-base-info-schema.json",
  "title": "BenefitItemValueBaseInfo",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zywave-benefititemvalues-api-openapi.yml#/components/schemas/BenefitItemValueBaseInfo",
  "type": "object",
  "additionalProperties": false,
  "properties": {
    "benefitItemClauseId": {
      "type": "integer",
      "format": "int32"
    },
    "sortOrder": {
      "type": "integer",
      "format": "int32"
    },
    "text": {
      "type": [
        "string",
        "null"
      ],
      "description": "Additional information about the Benefit Item besides its main Value.",
      "maxLength": 255
    },
    "value": {
      "type": [
        "string",
        "null"
      ],
      "description": "Value of the Benefit Item. May contain text or number. Should contain integer valid OptionId if BenefitItemValueType is 'Options'",
      "maxLength": 255
    },
    "benefitItemValueType": {
      "$ref": "#/$defs/BenefitItemValueType"
    }
  },
  "$defs": {
    "BenefitItemValueType": {
      "type": "string",
      "description": "",
      "x-enumNames": [
        "Percent",
        "Dollar",
        "DollarOrPercent",
        "Boolean",
        "Numeric",
        "Options",
        "Text"
      ],
      "enum": [
        "Percent",
        "Dollar",
        "DollarOrPercent",
        "Boolean",
        "Numeric",
        "Options",
        "Text"
      ]
    }
  }
}