{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/remote-com/json-schema/remote-com-payroll-calendar-list-schema.json",
  "title": "PayrollCalendarList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/remote-com-payroll-calendars-api-openapi.yml#/components/schemas/PayrollCalendarList",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "payroll_calendars": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/PayrollCalendarEntry"
          }
        }
      }
    }
  },
  "$defs": {
    "PayrollCalendarEntry": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "scope": {
          "type": "string",
          "enum": [
            "company",
            "eor",
            "global_payroll"
          ]
        },
        "country_code": {
          "type": "string"
        },
        "period_start": {
          "type": "string",
          "format": "date"
        },
        "period_end": {
          "type": "string",
          "format": "date"
        },
        "cutoff_date": {
          "type": "string",
          "format": "date"
        },
        "payday": {
          "type": "string",
          "format": "date"
        },
        "currency": {
          "type": "string"
        }
      }
    }
  }
}