MCP Control
Расчёт выплат · Чувствительное действие

Расчёт выплат · Расчёты · Создание

payroll_calculation_create
Кассовый чек, калькулятор и монеты

Попробуйте три запроса

Подготовить
  1. Вы указываетеId записи
  2. ПомощникПодготовка
  3. Вы получаетеПредпросмотр
Запрос в чат
Подготовь «Расчёт выплат / Расчёты / Создание». Для изменения нужны ID записи, входные данные. Покажи объект и ожидаемый эффект до выполнения.
Что входит в подготовку
id
Id записи
input
Входные данные
reviewHash
Параметр
Применить
  1. Вы указываетеСогласованные значения
  2. ПомощникОдин вызов
  3. Вы получаетеОтвет операции
Запрос в чат
На учебной записи подготовь «Расчёт выплат / Расчёты / Создание» с параметром input.profileId = DEMO-101. Покажи остальные обязательные значения и выполни действие, когда согласованы все поля.
Фрагмент учебных параметров
input.profileId
DEMO-101
input.timezone
America/Tijuana
input.earningsMode
native
Проверить итог
  1. Вы указываетеИсходный ответ
  2. ПомощникСверка результата
  3. Вы получаетеПодтверждение
Запрос в чат
Проверь результат «Расчёт выплат / Расчёты / Создание» по исходному ответу. Покажи calculation. Объясни, чем подтвердить эффект для выбранного объекта.
Как проследить одну попытку
  1. ЗапросСохранить исходный ключ
  2. ОтветПроверить статус
  3. ПроверкаСверить эффект операции
Как работает действие

Этот вызов может изменить рабочие данные. Согласуйте точный объект, новые значения и ожидаемый результат. Присвойте операции стабильный requestId. При повторе той же операции используйте прежний ключ и те же значения.

Описание разработчика

Save a draft payroll calculation from the exact reviewed preview and hash. Native service recalculates current sources and rejects changed previews. Stable calculation ID and request ID prevent duplicate drafts. Does not approve or pay.

Параметры запроса
id
Идентификатор выбранной записи. обязательно по схеме · string
input
Native input value; use the value and type returned by the corresponding service. обязательно по схеме · object
reviewHash
Native reviewHash value; use the value and type returned by the corresponding service. обязательно по схеме · string
requestId
Ключ этой операции. Для повтора с теми же аргументами сохраните исходное значение. обязательно по схеме · string
Что вернёт команда
calculation
Native calculation value; use the value and type returned by the corresponding service. обязательно по схеме · object
Поля и технические схемы
Входные поля и поля ответа payroll_calculation_create
Вход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
      "description": "New calculation UUID, preserved for recovery."
    },
    "input": {
      "type": "object",
      "properties": {
        "profileId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
          "description": "Native Recruiter salary identity employeeId~salaryDocumentId; obtain from payroll_native_profiles_list. This is not a legacy SQL payroll profile UUID."
        },
        "from": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "description": "Native from value; use the value and type returned by the corresponding service."
        },
        "to": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "description": "Native to value; use the value and type returned by the corresponding service."
        },
        "payDate": {
          "type": "string",
          "format": "date",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
          "description": "Native payDate value; use the value and type returned by the corresponding service."
        },
        "timezone": {
          "type": "string",
          "minLength": 1,
          "maxLength": 100,
          "description": "Native timezone value; use the value and type returned by the corresponding service."
        },
        "weekAnchor": {
          "type": "string",
          "format": "date-time",
          "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
          "description": "Native weekAnchor value; use the value and type returned by the corresponding service."
        },
        "periodsPerYear": {
          "anyOf": [
            {
              "type": "number",
              "const": 1
            },
            {
              "type": "number",
              "const": 2
            },
            {
              "type": "number",
              "const": 4
            },
            {
              "type": "number",
              "const": 12
            },
            {
              "type": "number",
              "const": 24
            },
            {
              "type": "number",
              "const": 26
            },
            {
              "type": "number",
              "const": 52
            },
            {
              "type": "number",
              "const": 260
            }
          ],
          "description": "Native periodsPerYear value; use the value and type returned by the corresponding service."
        },
        "earningsMode": {
          "type": "string",
          "enum": [
            "native",
            "hourly",
            "monthly",
            "weekly",
            "shift",
            "day",
            "piecework",
            "manual"
          ],
          "description": "Native earningsMode value; use the value and type returned by the corresponding service."
        },
        "piecework": {
          "description": "Native piecework value; use the value and type returned by the corresponding service.",
          "type": "object",
          "properties": {
            "confirmed": {
              "type": "boolean",
              "const": true,
              "description": "Native confirmed value; use the value and type returned by the corresponding service."
            },
            "note": {
              "type": "string",
              "minLength": 5,
              "maxLength": 2000,
              "description": "Native note value; use the value and type returned by the corresponding service."
            },
            "quantities": {
              "minItems": 1,
              "maxItems": 200,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "productId": {
                    "type": "string",
                    "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
                    "description": "Native productId value; use the value and type returned by the corresponding service."
                  },
                  "operation": {
                    "type": "string",
                    "enum": [
                      "sale",
                      "production",
                      "delivery",
                      "packing",
                      "service"
                    ],
                    "description": "Native operation value; use the value and type returned by the corresponding service."
                  },
                  "quantity": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Native quantity value; use the value and type returned by the corresponding service."
                  }
                },
                "required": [
                  "productId",
                  "operation",
                  "quantity"
                ],
                "additionalProperties": false
              },
              "description": "Native quantities value; use the value and type returned by the corresponding service."
            }
          },
          "required": [
            "confirmed",
            "note",
            "quantities"
          ],
          "additionalProperties": false
        },
        "overtime": {
          "type": "string",
          "enum": [
            "us-weekly",
            "exempt",
            "manual"
          ],
          "description": "Native overtime value; use the value and type returned by the corresponding service."
        },
        "gross": {
          "description": "Native gross value; use the value and type returned by the corresponding service.",
          "type": "number",
          "minimum": 0,
          "maximum": 1000000000
        },
        "earningsNote": {
          "default": "",
          "description": "Native earningsNote value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 2000
        },
        "taxMode": {
          "type": "string",
          "enum": [
            "us-federal-2026",
            "manual"
          ],
          "description": "Use only the native supported jurisdiction/year or explicitly reviewed manual amounts. Never invent taxes or opening balances."
        },
        "opening": {
          "description": "Native opening value; use the value and type returned by the corresponding service.",
          "type": "object",
          "properties": {
            "ssWages": {
              "$ref": "#/$defs/_mcp0"
            },
            "medicareWages": {
              "$ref": "#/$defs/_mcp1"
            },
            "futaWages": {
              "$ref": "#/$defs/_mcp2"
            },
            "confirmed": {
              "type": "boolean",
              "description": "Native confirmed value; use the value and type returned by the corresponding service."
            },
            "note": {
              "type": "string",
              "minLength": 5,
              "maxLength": 1000,
              "description": "Native note value; use the value and type returned by the corresponding service."
            }
          },
          "required": [
            "ssWages",
            "medicareWages",
            "futaWages",
            "confirmed",
            "note"
          ],
          "additionalProperties": false
        },
        "taxes": {
          "default": [],
          "description": "Native taxes value; use the value and type returned by the corresponding service.",
          "maxItems": 50,
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "minLength": 1,
                "maxLength": 100,
                "description": "Native name value; use the value and type returned by the corresponding service."
              },
              "party": {
                "type": "string",
                "enum": [
                  "employee",
                  "employer"
                ],
                "description": "Native party value; use the value and type returned by the corresponding service."
              },
              "amount": {
                "type": "number",
                "minimum": 0,
                "maximum": 1000000000,
                "description": "Native amount value; use the value and type returned by the corresponding service."
              }
            },
            "required": [
              "name",
              "party",
              "amount"
            ],
            "additionalProperties": false
          }
        },
        "taxNote": {
          "default": "",
          "description": "Native taxNote value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 2000
        },
        "taxableWages": {
          "description": "Native taxableWages value; use the value and type returned by the corresponding service.",
          "type": "object",
          "properties": {
            "ssWages": {
              "$ref": "#/$defs/_mcp0"
            },
            "medicareWages": {
              "$ref": "#/$defs/_mcp1"
            },
            "futaWages": {
              "$ref": "#/$defs/_mcp2"
            }
          },
          "required": [
            "ssWages",
            "medicareWages",
            "futaWages"
          ],
          "additionalProperties": false
        },
        "postTaxDeduction": {
          "default": 0,
          "description": "Native postTaxDeduction value; use the value and type returned by the corresponding service.",
          "type": "number",
          "minimum": 0,
          "maximum": 1000000000
        },
        "deductionNote": {
          "default": "",
          "description": "Native deductionNote value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 1000
        },
        "futaRate": {
          "description": "Native futaRate value; use the value and type returned by the corresponding service.",
          "type": "number",
          "minimum": 0,
          "maximum": 6
        },
        "futaNote": {
          "default": "",
          "description": "Native futaNote value; use the value and type returned by the corresponding service.",
          "type": "string",
          "maxLength": 1000
        }
      },
      "required": [
        "profileId",
        "from",
        "to",
        "payDate",
        "timezone",
        "weekAnchor",
        "periodsPerYear",
        "earningsMode",
        "overtime",
        "earningsNote",
        "taxMode",
        "taxes",
        "taxNote",
        "postTaxDeduction",
        "deductionNote",
        "futaNote"
      ],
      "additionalProperties": false,
      "description": "Native input value; use the value and type returned by the corresponding service."
    },
    "reviewHash": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Native reviewHash value; use the value and type returned by the corresponding service."
    },
    "requestId": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{8,128}$",
      "description": "Stable request ID for these exact arguments. Keep it if the response is uncertain."
    }
  },
  "required": [
    "id",
    "input",
    "reviewHash",
    "requestId"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native ssWages value; use the value and type returned by the corresponding service."
    },
    "_mcp1": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native medicareWages value; use the value and type returned by the corresponding service."
    },
    "_mcp2": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native futaWages value; use the value and type returned by the corresponding service."
    }
  }
}
Выход · JSON Schema
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "calculation": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
          "description": "Native id value; use the value and type returned by the corresponding service."
        },
        "employeeId": {
          "$ref": "#/$defs/_mcp0"
        },
        "profileId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
          "description": "Native profileId value; use the value and type returned by the corresponding service."
        },
        "status": {
          "type": "string",
          "enum": [
            "draft",
            "approved",
            "void"
          ],
          "description": "Native status value; use the value and type returned by the corresponding service."
        },
        "revision": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "Native revision value; use the value and type returned by the corresponding service."
        },
        "from": {
          "$ref": "#/$defs/_mcp1"
        },
        "to": {
          "$ref": "#/$defs/_mcp2"
        },
        "payDate": {
          "$ref": "#/$defs/_mcp3"
        },
        "currency": {
          "$ref": "#/$defs/_mcp4"
        },
        "input": {
          "type": "object",
          "properties": {
            "profileId": {
              "type": "string",
              "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
              "description": "Native Recruiter salary identity employeeId~salaryDocumentId; obtain from payroll_native_profiles_list. This is not a legacy SQL payroll profile UUID."
            },
            "from": {
              "$ref": "#/$defs/_mcp1"
            },
            "to": {
              "$ref": "#/$defs/_mcp2"
            },
            "payDate": {
              "$ref": "#/$defs/_mcp3"
            },
            "timezone": {
              "type": "string",
              "minLength": 1,
              "maxLength": 100,
              "description": "Native timezone value; use the value and type returned by the corresponding service."
            },
            "weekAnchor": {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
              "description": "Native weekAnchor value; use the value and type returned by the corresponding service."
            },
            "periodsPerYear": {
              "anyOf": [
                {
                  "type": "number",
                  "const": 1
                },
                {
                  "type": "number",
                  "const": 2
                },
                {
                  "type": "number",
                  "const": 4
                },
                {
                  "type": "number",
                  "const": 12
                },
                {
                  "type": "number",
                  "const": 24
                },
                {
                  "type": "number",
                  "const": 26
                },
                {
                  "type": "number",
                  "const": 52
                },
                {
                  "type": "number",
                  "const": 260
                }
              ],
              "description": "Native periodsPerYear value; use the value and type returned by the corresponding service."
            },
            "earningsMode": {
              "type": "string",
              "enum": [
                "native",
                "hourly",
                "monthly",
                "weekly",
                "shift",
                "day",
                "piecework",
                "manual"
              ],
              "description": "Native earningsMode value; use the value and type returned by the corresponding service."
            },
            "piecework": {
              "description": "Native piecework value; use the value and type returned by the corresponding service.",
              "type": "object",
              "properties": {
                "confirmed": {
                  "type": "boolean",
                  "const": true,
                  "description": "Native confirmed value; use the value and type returned by the corresponding service."
                },
                "note": {
                  "type": "string",
                  "minLength": 5,
                  "maxLength": 2000,
                  "description": "Native note value; use the value and type returned by the corresponding service."
                },
                "quantities": {
                  "minItems": 1,
                  "maxItems": 200,
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "productId": {
                        "type": "string",
                        "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
                        "description": "Native productId value; use the value and type returned by the corresponding service."
                      },
                      "operation": {
                        "type": "string",
                        "enum": [
                          "sale",
                          "production",
                          "delivery",
                          "packing",
                          "service"
                        ],
                        "description": "Native operation value; use the value and type returned by the corresponding service."
                      },
                      "quantity": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "description": "Native quantity value; use the value and type returned by the corresponding service."
                      }
                    },
                    "required": [
                      "productId",
                      "operation",
                      "quantity"
                    ],
                    "additionalProperties": false
                  },
                  "description": "Native quantities value; use the value and type returned by the corresponding service."
                }
              },
              "required": [
                "confirmed",
                "note",
                "quantities"
              ],
              "additionalProperties": false
            },
            "overtime": {
              "type": "string",
              "enum": [
                "us-weekly",
                "exempt",
                "manual"
              ],
              "description": "Native overtime value; use the value and type returned by the corresponding service."
            },
            "gross": {
              "description": "Native gross value; use the value and type returned by the corresponding service.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000
            },
            "earningsNote": {
              "default": "",
              "description": "Native earningsNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 2000
            },
            "taxMode": {
              "type": "string",
              "enum": [
                "us-federal-2026",
                "manual"
              ],
              "description": "Use only the native supported jurisdiction/year or explicitly reviewed manual amounts. Never invent taxes or opening balances."
            },
            "opening": {
              "description": "Native opening value; use the value and type returned by the corresponding service.",
              "type": "object",
              "properties": {
                "ssWages": {
                  "$ref": "#/$defs/_mcp5"
                },
                "medicareWages": {
                  "$ref": "#/$defs/_mcp6"
                },
                "futaWages": {
                  "$ref": "#/$defs/_mcp7"
                },
                "confirmed": {
                  "type": "boolean",
                  "description": "Native confirmed value; use the value and type returned by the corresponding service."
                },
                "note": {
                  "type": "string",
                  "minLength": 5,
                  "maxLength": 1000,
                  "description": "Native note value; use the value and type returned by the corresponding service."
                }
              },
              "required": [
                "ssWages",
                "medicareWages",
                "futaWages",
                "confirmed",
                "note"
              ],
              "additionalProperties": false
            },
            "taxes": {
              "default": [],
              "description": "Native taxes value; use the value and type returned by the corresponding service.",
              "maxItems": 50,
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "name": {
                    "type": "string",
                    "minLength": 1,
                    "maxLength": 100,
                    "description": "Native name value; use the value and type returned by the corresponding service."
                  },
                  "party": {
                    "type": "string",
                    "enum": [
                      "employee",
                      "employer"
                    ],
                    "description": "Native party value; use the value and type returned by the corresponding service."
                  },
                  "amount": {
                    "type": "number",
                    "minimum": 0,
                    "maximum": 1000000000,
                    "description": "Native amount value; use the value and type returned by the corresponding service."
                  }
                },
                "required": [
                  "name",
                  "party",
                  "amount"
                ],
                "additionalProperties": false
              }
            },
            "taxNote": {
              "default": "",
              "description": "Native taxNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 2000
            },
            "taxableWages": {
              "description": "Native taxableWages value; use the value and type returned by the corresponding service.",
              "type": "object",
              "properties": {
                "ssWages": {
                  "$ref": "#/$defs/_mcp5"
                },
                "medicareWages": {
                  "$ref": "#/$defs/_mcp6"
                },
                "futaWages": {
                  "$ref": "#/$defs/_mcp7"
                }
              },
              "required": [
                "ssWages",
                "medicareWages",
                "futaWages"
              ],
              "additionalProperties": false
            },
            "postTaxDeduction": {
              "default": 0,
              "description": "Native postTaxDeduction value; use the value and type returned by the corresponding service.",
              "type": "number",
              "minimum": 0,
              "maximum": 1000000000
            },
            "deductionNote": {
              "default": "",
              "description": "Native deductionNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 1000
            },
            "futaRate": {
              "description": "Native futaRate value; use the value and type returned by the corresponding service.",
              "type": "number",
              "minimum": 0,
              "maximum": 6
            },
            "futaNote": {
              "default": "",
              "description": "Native futaNote value; use the value and type returned by the corresponding service.",
              "type": "string",
              "maxLength": 1000
            }
          },
          "required": [
            "profileId",
            "from",
            "to",
            "payDate",
            "timezone",
            "weekAnchor",
            "periodsPerYear",
            "earningsMode",
            "overtime",
            "earningsNote",
            "taxMode",
            "taxes",
            "taxNote",
            "postTaxDeduction",
            "deductionNote",
            "futaNote"
          ],
          "additionalProperties": false,
          "description": "Native input value; use the value and type returned by the corresponding service."
        },
        "result": {
          "type": "object",
          "properties": {
            "engine": {
              "type": "string",
              "maxLength": 100,
              "description": "Native engine value; use the value and type returned by the corresponding service."
            },
            "currency": {
              "$ref": "#/$defs/_mcp4"
            },
            "employeeId": {
              "$ref": "#/$defs/_mcp0"
            },
            "gross": {
              "type": "number",
              "description": "Native gross value; use the value and type returned by the corresponding service."
            },
            "net": {
              "type": "number",
              "description": "Native net value; use the value and type returned by the corresponding service."
            },
            "totalCost": {
              "type": "number",
              "description": "Native totalCost value; use the value and type returned by the corresponding service."
            },
            "blockers": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 10000
              },
              "description": "Native blockers value; use the value and type returned by the corresponding service."
            },
            "coverage": {
              "maxItems": 100,
              "type": "array",
              "items": {
                "type": "string",
                "maxLength": 10000
              },
              "description": "Native coverage value; use the value and type returned by the corresponding service."
            }
          },
          "required": [
            "engine",
            "currency",
            "employeeId",
            "gross",
            "net",
            "totalCost",
            "blockers",
            "coverage"
          ],
          "additionalProperties": {},
          "description": "Native result value; use the value and type returned by the corresponding service."
        },
        "createdAt": {
          "type": "string",
          "description": "Native createdAt value; use the value and type returned by the corresponding service."
        },
        "createdBy": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
          "description": "Native createdBy value; use the value and type returned by the corresponding service."
        }
      },
      "required": [
        "id",
        "employeeId",
        "profileId",
        "status",
        "revision",
        "from",
        "to",
        "payDate",
        "currency",
        "input",
        "result",
        "createdAt",
        "createdBy"
      ],
      "additionalProperties": false,
      "description": "Native calculation value; use the value and type returned by the corresponding service."
    }
  },
  "required": [
    "calculation"
  ],
  "additionalProperties": false,
  "$defs": {
    "_mcp0": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_~:@+.-]{1,128}$",
      "description": "Native employeeId value; use the value and type returned by the corresponding service."
    },
    "_mcp1": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      "description": "Native from value; use the value and type returned by the corresponding service."
    },
    "_mcp2": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      "description": "Native to value; use the value and type returned by the corresponding service."
    },
    "_mcp3": {
      "type": "string",
      "format": "date",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
      "description": "Native payDate value; use the value and type returned by the corresponding service."
    },
    "_mcp4": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3,
      "description": "Native currency value; use the value and type returned by the corresponding service."
    },
    "_mcp5": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native ssWages value; use the value and type returned by the corresponding service."
    },
    "_mcp6": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native medicareWages value; use the value and type returned by the corresponding service."
    },
    "_mcp7": {
      "type": "number",
      "minimum": 0,
      "maximum": 1000000000,
      "description": "Native futaWages value; use the value and type returned by the corresponding service."
    }
  }
}