{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/workday-tracking-system/refs/heads/main/json-schema/absence-management-accrual-override-input-schema.json",
  "title": "AccrualOverrideInput",
  "description": "Input for creating an accrual override",
  "type": "object",
  "properties": {
    "planId": {
      "type": "string",
      "description": "ID of the time off plan"
    },
    "overrideType": {
      "type": "string",
      "description": "Type of override",
      "enum": ["Adjustment", "Override"]
    },
    "hours": {
      "type": "number",
      "format": "float",
      "description": "Hours to adjust or override"
    },
    "effectiveDate": {
      "type": "string",
      "format": "date",
      "description": "Effective date of the override"
    },
    "expirationDate": {
      "type": "string",
      "format": "date",
      "description": "Optional expiration date"
    },
    "reason": {
      "type": "string",
      "description": "Reason for the override"
    }
  },
  "required": ["planId", "overrideType", "hours", "effectiveDate"]
}
