{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adp/json-schema/adp-payroll-output-response-schema.json",
  "title": "PayrollOutputResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adp-payrolloutputs-api-openapi.yml#/components/schemas/PayrollOutputResponse",
  "type": "object",
  "properties": {
    "payrollOutputs": {
      "type": "array",
      "maxItems": 1,
      "items": {
        "$ref": "#/$defs/PayrollOutput"
      }
    }
  },
  "$defs": {
    "AmountValue": {
      "type": "object",
      "properties": {
        "amountValue": {
          "type": "number",
          "format": "double"
        },
        "currencyCode": {
          "type": "string",
          "default": "USD"
        }
      }
    },
    "PayrollOutput": {
      "type": "object",
      "properties": {
        "payrollOutputID": {
          "type": "string"
        },
        "payrollScheduleReference": {
          "type": "object",
          "properties": {
            "payFrequencyCode": {
              "type": "object",
              "properties": {
                "codeValue": {
                  "type": "string"
                }
              }
            },
            "payPeriodStartDate": {
              "type": "string",
              "format": "date"
            },
            "payPeriodEndDate": {
              "type": "string",
              "format": "date"
            },
            "payDate": {
              "type": "string",
              "format": "date"
            }
          }
        },
        "payrollSummary": {
          "type": "object",
          "properties": {
            "grossPayAmount": {
              "$ref": "#/$defs/AmountValue"
            },
            "netPayAmount": {
              "$ref": "#/$defs/AmountValue"
            },
            "totalDeductionsAmount": {
              "$ref": "#/$defs/AmountValue"
            },
            "totalTaxesAmount": {
              "$ref": "#/$defs/AmountValue"
            }
          }
        }
      }
    }
  }
}