{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/adp/json-schema/adp-payroll-outputs-response-schema.json",
  "title": "PayrollOutputsResponse",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/adp-payrolloutputs-api-openapi.yml#/components/schemas/PayrollOutputsResponse",
  "type": "object",
  "properties": {
    "payrollOutputs": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PayrollOutputSummary"
      }
    },
    "meta": {
      "type": "object",
      "properties": {
        "totalCount": {
          "type": "integer"
        }
      }
    }
  },
  "$defs": {
    "PayrollOutputSummary": {
      "type": "object",
      "properties": {
        "payrollOutputID": {
          "type": "string"
        },
        "payrollScheduleReference": {
          "type": "object",
          "properties": {
            "payFrequencyCode": {
              "type": "object",
              "properties": {
                "codeValue": {
                  "type": "string",
                  "enum": [
                    "Weekly",
                    "BiWeekly",
                    "SemiMonthly",
                    "Monthly"
                  ]
                }
              }
            },
            "payPeriodStartDate": {
              "type": "string",
              "format": "date"
            },
            "payPeriodEndDate": {
              "type": "string",
              "format": "date"
            },
            "payDate": {
              "type": "string",
              "format": "date"
            }
          }
        },
        "payrollStatusCode": {
          "type": "object",
          "properties": {
            "codeValue": {
              "type": "string",
              "enum": [
                "Open",
                "Closed",
                "Processing",
                "Completed",
                "Locked"
              ]
            }
          }
        },
        "workerCount": {
          "type": "integer"
        }
      }
    }
  }
}