Pinwheel · Schema

Earning

PayrollDirect DepositIncome VerificationEmploymentTax FormsFintechOpen FinanceBill SwitchingFinancial Data

Properties

Name Type Description
name string The name of the earning.
category object The category of earning.
amount integer The amount of earning, in cents.
rate integer The amount earned per hour, in cents.
hours number The hours worked.
View JSON Schema on GitHub

JSON Schema

shiftearningobjpublicresponseitem.json Raw ↑
{
  "properties": {
    "name": {
      "type": "string",
      "title": "name",
      "description": "The name of the earning."
    },
    "category": {
      "allOf": [
        {
          "type": "string",
          "enum": [
            "salary",
            "hourly",
            "overtime",
            "double_overtime",
            "premium",
            "bonus",
            "commission",
            "tips",
            "vacation",
            "holiday",
            "pto",
            "sick",
            "employer_contribution",
            "other",
            "fare",
            "unpaid",
            "parental",
            "shift_differential",
            "bereavement",
            "life_insurance",
            "stock",
            "retirement",
            "medical",
            "meal_comp",
            "disability",
            "retro_pay"
          ]
        }
      ],
      "description": "The category of earning."
    },
    "amount": {
      "type": "integer",
      "title": "amount",
      "description": "The amount of earning, in cents."
    },
    "rate": {
      "type": "integer",
      "title": "rate",
      "description": "The amount earned per hour, in cents."
    },
    "hours": {
      "type": "number",
      "title": "hours",
      "description": "The hours worked."
    }
  },
  "type": "object",
  "required": [
    "name",
    "category"
  ],
  "title": "Earning",
  "x-tags": [
    "Schemas"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.pinwheelapi.com/ShiftEarningObjPublicResponseItem.json"
}