{
  "properties": {
    "name": {
      "type": "string",
      "title": "name",
      "description": "The name of the deduction."
    },
    "category": {
      "allOf": [
        {
          "type": "string",
          "enum": [
            "retirement",
            "medical_insurance",
            "hsa",
            "fsa",
            "dental",
            "vision",
            "life_insurance",
            "disability",
            "child_support",
            "commuter",
            "union_dues",
            "stock",
            "charity",
            "savings",
            "tips",
            "wage_garnishment",
            "lending",
            "company_perk",
            "tax",
            "loan",
            "job_expense",
            "other",
            "fees",
            "reallocation",
            "retro_pay"
          ]
        }
      ],
      "description": "The category of deduction."
    },
    "amount": {
      "type": "integer",
      "title": "amount",
      "description": "The amount of deduction, in cents."
    },
    "type": {
      "allOf": [
        {
          "type": "string",
          "enum": [
            "pre_tax",
            "post_tax",
            "unknown"
          ]
        }
      ],
      "description": "The type of deduction."
    }
  },
  "type": "object",
  "required": [
    "name",
    "category",
    "amount",
    "type"
  ],
  "title": "Deduction",
  "x-tags": [
    "Schemas"
  ],
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://schema.pinwheelapi.com/DeductionObjPublicResponseItem.json"
}