Deputy · Schema

CopyRequestCopyRequestData

Workforce ManagementEmployee SchedulingTime and AttendanceTimesheetsHuman ResourcesShift PlanningAustraliaScheduling

Properties

Name Type Description
startDate string Start date of the shifts to copy. Format: YYYY-MM-DD (e.g., "2023-03-11"). Required for pattern 1.
endDate string End date of the shifts to copy (inclusive). Format: YYYY-MM-DD (e.g., "2023-03-18"). Required for pattern 1.
areas array Array of area IDs to filter shifts for copying. If empty, all areas are included. Used for pattern 1.
targetDates array Target dates to copy shifts to. Format: YYYY-MM-DD. Each date will receive copies of the source shifts. Mutually exclusive with dayOffsets.
viewType object View type that determines which shifts are included in the copy operation. Required when using targetDates. Not required when using dayOffsets.
shiftIds array Array of specific shift IDs to copy. Used for pattern 2. If provided, startDate, endDate, and areas are ignored.
dayOffsets array Day offsets for copying shifts. Each value is the number of days to offset from source shift dates. Mutually exclusive with targetDates. When provided, viewType is not required.
View JSON Schema on GitHub

JSON Schema

deputy-copy-request-copy-request-data-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/deputy/main/json-schema/deputy-copy-request-copy-request-data-schema.json",
  "title": "CopyRequestCopyRequestData",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/deputy-v2-api-openapi.yml#/components/schemas/CopyRequestCopyRequestData",
  "type": "object",
  "properties": {
    "startDate": {
      "type": "string",
      "description": "Start date of the shifts to copy. Format: YYYY-MM-DD (e.g., \"2023-03-11\"). Required for pattern 1."
    },
    "endDate": {
      "type": "string",
      "description": "End date of the shifts to copy (inclusive). Format: YYYY-MM-DD (e.g., \"2023-03-18\"). Required for pattern 1."
    },
    "areas": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int32"
      },
      "description": "Array of area IDs to filter shifts for copying. If empty, all areas are included. Used for pattern 1."
    },
    "targetDates": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Target dates to copy shifts to. Format: YYYY-MM-DD. Each date will receive copies of the source shifts.\nMutually exclusive with dayOffsets."
    },
    "viewType": {
      "$ref": "#/$defs/modelViewType",
      "description": "View type that determines which shifts are included in the copy operation.\nRequired when using targetDates. Not required when using dayOffsets."
    },
    "shiftIds": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int32"
      },
      "description": "Array of specific shift IDs to copy. Used for pattern 2. If provided, startDate, endDate, and areas are ignored."
    },
    "dayOffsets": {
      "type": "array",
      "items": {
        "type": "integer",
        "format": "int32"
      },
      "description": "Day offsets for copying shifts. Each value is the number of days to offset\nfrom source shift dates. Mutually exclusive with targetDates.\nWhen provided, viewType is not required."
    }
  },
  "$defs": {
    "modelViewType": {
      "type": "string",
      "enum": [
        "DAILY",
        "DAILY_EMP",
        "WEEKLY",
        "WEEKLY_EMPLOYEE",
        "FORTNIGHTLY",
        "FORTNIGHTLY_EMP",
        "MONTHLY_EMPLOYEE",
        "FOURWEEKLY_EMP",
        "MONTHLY"
      ],
      "default": "DAILY"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/deputy-copy-request-copy-request-data"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.