Deputy · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Deputy V1 Resource Employment Contract Leave Rules API

17 actions 17 updates phrasing extends openapi/deputy-employmentcontractleaverules-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Deputy's API. It is a proposal applied on top of the contract, not a document Deputy publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 17 · first 16 shown; the file carries all of them

$.info
$.paths['/resource/EmploymentContractLeaveRules'].get
$.paths['/resource/EmploymentContractLeaveRules'].put
$.paths['/resource/EmploymentContractLeaveRules'].post
$.paths['/resource/EmploymentContractLeaveRules/BULK'].post
$.paths['/resource/EmploymentContractLeaveRules/INFO'].get
$.paths['/resource/EmploymentContractLeaveRules/PREDICT'].post
$.paths['/resource/EmploymentContractLeaveRules/QUERY'].post
$.paths['/resource/EmploymentContractLeaveRules/{id}'].get
$.paths['/resource/EmploymentContractLeaveRules/{id}'].put
$.paths['/resource/EmploymentContractLeaveRules/{id}'].post
$.paths['/resource/EmploymentContractLeaveRules/{id}'].delete
$.paths['/resource/EmploymentContractLeaveRules/{id}/COMMENTS'].get
$.paths['/resource/EmploymentContractLeaveRules/{id}/COMMENTS'].post
$.paths['/resource/EmploymentContractLeaveRules/{id}/COMMENTS/{commentId}'].delete
$.paths['/resource/EmploymentContractLeaveRules/{id}/HISTORY'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for Deputy V1 Resource Employment Contract Leave Rules API
  version: 1.0.0
extends: openapi/deputy-employmentcontractleaverules-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-17'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 16
- target: $.paths['/resource/EmploymentContractLeaveRules'].get
  update:
    x-apievangelist-phrasing:
      intent: List leave rules for employment contracts
      effect: read
      questions:
      - Which leave rules apply to a given employment contract?
      - Can I see every leave rule record I have access to?
      instructions:
      - text: List all employment contract leave rules.
      - text: Show every leave rule record I can see.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules'].put
  update:
    x-apievangelist-phrasing:
      intent: Create or replace an employment contract leave rule
      effect: write
      questions:
      - How do I set the leave rules for a contract in one call?
      - Can I overwrite an existing leave rule record entirely?
      instructions:
      - text: Create leave rule {LeaveRuleId} for contract {ContractId} with base pay rule {BasePayRule}.
        slots:
          LeaveRuleId: requestBody.LeaveRuleId
          ContractId: requestBody.ContractId
          BasePayRule: requestBody.BasePayRule
      - text: Replace the leave rule {LeaveRuleId} on contract {ContractId} with loading pay rules {LoadingPayRule1}, {LoadingPayRule2} and {LoadingPayRule3}.
        slots:
          LeaveRuleId: requestBody.LeaveRuleId
          ContractId: requestBody.ContractId
          LoadingPayRule1: requestBody.LoadingPayRule1
          LoadingPayRule2: requestBody.LoadingPayRule2
          LoadingPayRule3: requestBody.LoadingPayRule3
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules'].post
  update:
    x-apievangelist-phrasing:
      intent: Create an employment contract leave rule
      effect: write
      questions:
      - How do I add a leave rule to an employment contract?
      - Can I create a new leave rule record for a contract?
      instructions:
      - text: Create leave rule {LeaveRuleId} for contract {ContractId}.
        slots:
          LeaveRuleId: requestBody.LeaveRuleId
          ContractId: requestBody.ContractId
      - text: Add a new leave rule {LeaveRuleId} to contract {ContractId} with base pay rule {BasePayRule}.
        slots:
          LeaveRuleId: requestBody.LeaveRuleId
          ContractId: requestBody.ContractId
          BasePayRule: requestBody.BasePayRule
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/BULK'].post
  update:
    x-apievangelist-phrasing:
      intent: Bulk create or update leave rules
      effect: write
      questions:
      - How do I set leave rules for many contracts in one request?
      - Can I create or update several employment contract leave rules at once?
      instructions:
      - text: Bulk create or update these employment contract leave rules.
      - text: Apply this batch of leave rule records to their contracts.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/INFO'].get
  update:
    x-apievangelist-phrasing:
      intent: Get field metadata for leave rules
      effect: read
      questions:
      - Which fields and associations does an employment contract leave rule have?
      - What types and queryable fields exist for leave rules?
      instructions:
      - text: Show the field metadata for employment contract leave rules.
      - text: List the queryable fields and associations of leave rules.
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/PREDICT'].post
  update:
    x-apievangelist-phrasing:
      intent: Find an existing leave rule by partial match
      effect: read
      questions:
      - Can I find the existing leave rule record that matches a contract and leave rule?
      - Which leave rule already exists for a given contract?
      instructions:
      - text: Predict the existing leave rule for contract {ContractId} and leave rule {LeaveRuleId}.
        slots:
          ContractId: requestBody.ContractId
          LeaveRuleId: requestBody.LeaveRuleId
      - text: Find the closest matching leave rule record for contract {ContractId} with leave rule {LeaveRuleId}.
        slots:
          ContractId: requestBody.ContractId
          LeaveRuleId: requestBody.LeaveRuleId
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/QUERY'].post
  update:
    x-apievangelist-phrasing:
      intent: Search employment contract leave rules
      effect: read
      questions:
      - How do I find leave rules for a contract?
      - Can I sort and page through employment contract leave rules?
      instructions:
      - text: Search employment contract leave rules matching {search}.
        slots:
          search: requestBody.search
      - text: Find leave rules for contract {ContractId}, sorted by {sort}.
        slots:
          ContractId: requestBody.search
          sort: requestBody.sort
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an employment contract leave rule
      effect: read
      questions:
      - What base and loading pay rules does a leave rule have?
      - Can I look up one employment contract leave rule by id?
      instructions:
      - text: Get employment contract leave rule {id}.
        slots:
          id: path.id
      - text: Show the base and loading pay rules of leave rule {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace an employment contract leave rule
      effect: write
      questions:
      - How do I overwrite an existing leave rule record?
      - Can I fully replace an employment contract leave rule?
      instructions:
      - text: Replace employment contract leave rule {id} with leave rule {LeaveRuleId} on contract {ContractId}.
        slots:
          id: path.id
          LeaveRuleId: requestBody.LeaveRuleId
          ContractId: requestBody.ContractId
      - text: Overwrite leave rule {id} on contract {ContractId} with base pay rule {BasePayRule}.
        slots:
          id: path.id
          ContractId: requestBody.ContractId
          BasePayRule: requestBody.BasePayRule
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}'].post
  update:
    x-apievangelist-phrasing:
      intent: Update an employment contract leave rule
      effect: write
      questions:
      - How do I change just the base pay rule of a leave rule?
      - Can I edit an existing employment contract leave rule?
      instructions:
      - text: Update employment contract leave rule {id} with leave rule {LeaveRuleId} on contract {ContractId}.
        slots:
          id: path.id
          LeaveRuleId: requestBody.LeaveRuleId
          ContractId: requestBody.ContractId
      - text: Change the base pay rule of leave rule {id} on contract {ContractId} to {BasePayRule}.
        slots:
          id: path.id
          ContractId: requestBody.ContractId
          BasePayRule: requestBody.BasePayRule
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an employment contract leave rule
      effect: destructive
      questions:
      - How do I remove a leave rule from a contract?
      - Can I delete an employment contract leave rule?
      instructions:
      - text: Delete employment contract leave rule {id}.
        slots:
          id: path.id
      - text: Remove leave rule {id} from its contract.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}/COMMENTS'].get
  update:
    x-apievangelist-phrasing:
      intent: List comments on a leave rule
      effect: read
      questions:
      - What comments have been left on a leave rule?
      - Can I see the comment history for an employment contract leave rule?
      instructions:
      - text: List comments on employment contract leave rule {id}.
        slots:
          id: path.id
      - text: Show the comment history of leave rule {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}/COMMENTS'].post
  update:
    x-apievangelist-phrasing:
      intent: Comment on a leave rule
      effect: write
      questions:
      - How do I add a comment to a leave rule?
      - Can I annotate an employment contract leave rule with a note?
      instructions:
      - text: Add comment {Comment} to employment contract leave rule {id}.
        slots:
          Comment: requestBody.Comment
          id: path.id
      - text: Comment {Comment} on leave rule {id}.
        slots:
          Comment: requestBody.Comment
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}/COMMENTS/{commentId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a comment on a leave rule
      effect: destructive
      questions:
      - How do I remove a comment from a leave rule?
      - Can I delete a comment on an employment contract leave rule?
      instructions:
      - text: Delete comment {commentId} from employment contract leave rule {id}.
        slots:
          commentId: path.commentId
          id: path.id
      - text: Remove comment {commentId} on leave rule {id}.
        slots:
          commentId: path.commentId
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}/HISTORY'].get
  update:
    x-apievangelist-phrasing:
      intent: Get change history of a leave rule
      effect: read
      questions:
      - What changes have been made to a leave rule over time?
      - Can I see the edit history of an employment contract leave rule?
      instructions:
      - text: Show the change history of employment contract leave rule {id}.
        slots:
          id: path.id
      - text: List every edit made to leave rule {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-17'
- target: $.paths['/resource/EmploymentContractLeaveRules/{id}/HISTORY/travel/{timestamp}'].get
  update:
    x-apievangelist-phrasing:
      intent: See a leave rule as it was at a past time
      effect: read
      questions:
      - What did a leave rule look like at a specific moment in the past?
      - Can I travel back to a prior version of an employment contract leave rule?
      instructions:
      - text: Show employment contract leave rule {id} as it was at {timestamp}.
        slots:
          id: path.id
          timestamp: path.timestamp
      - text: Travel back to leave rule {id} at {timestamp} and show it.
        slots:
          id: path.id
          timestamp: path.timestamp
      method: generated
      generated: '2026-11-17'

Work with this as data

Every overlay 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 openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay 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 overlay
curl "https://apis.io/api/v1/overlays/deputy-employmentcontractleaverules-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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