{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/deputy/json-schema/deputy-audit-pay-recalculation-pay-recalculation-request-schema.json",
  "title": "Audit pay recalculation request",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deputy-audit-pay-recalculation-api-openapi.yml#/components/schemas/AuditPayRecalculationPayRecalculationRequest",
  "type": "object",
  "properties": {
    "data": {
      "$ref": "#/$defs/modelPayRecalculation"
    }
  },
  "$defs": {
    "modelPayRecalculation": {
      "type": "object",
      "properties": {
        "employeeId": {
          "type": "integer",
          "format": "int32",
          "title": "Id of the employee"
        },
        "startDate": {
          "type": "string",
          "format": "date-time",
          "title": "Start date of the calculation period"
        },
        "endDate": {
          "type": "string",
          "format": "date-time",
          "title": "End date of the calculation period"
        },
        "awardOverride": {
          "type": "string",
          "title": "Award code used to recalculate pay returns (optional)"
        },
        "contractOverride": {
          "type": "integer",
          "format": "int32",
          "title": "Contract Id used to recalculate pay returns (optional)"
        },
        "basePayRate": {
          "type": "number",
          "format": "float",
          "title": "Base pay rate to be used for calculation when override is provided"
        },
        "awardSourceList": {
          "type": "string",
          "title": "award source list is either file or db"
        }
      }
    }
  }
}