naftiko: 1.0.0-alpha2 info: label: Workday Staffing API — Staffing description: 'Workday Staffing API — Staffing. 4 operations. Lead operation: Create Job Change. Self-contained Naftiko capability covering one Workday business surface.' tags: - Workday - Staffing created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_API_KEY: WORKDAY_API_KEY capability: consumes: - type: http namespace: staffing-staffing baseUri: https://wd2-impl-services1.workday.com/ccx/api/staffing/v1/{tenant} description: Workday Staffing API — Staffing business capability. Self-contained, no shared references. resources: - name: workers-ID-jobChanges path: /workers/{ID}/jobChanges operations: - name: createjobchange method: POST description: Create Job Change outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workers-ID-organizationAssignments path: /workers/{ID}/organizationAssignments operations: - name: getorganizationassignments method: GET description: Get Organization Assignments outputRawFormat: json outputParameters: - name: result type: object value: $. - name: workers-ID-requestOneTimePayment path: /workers/{ID}/requestOneTimePayment operations: - name: requestonetimepayment method: POST description: Request One-time Payment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: workers-ID-terminate path: /workers/{ID}/terminate operations: - name: terminateworker method: POST description: Terminate Worker outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.WORKDAY_API_KEY}}' exposes: - type: rest namespace: staffing-staffing-rest port: 8080 description: REST adapter for Workday Staffing API — Staffing. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/workers/{id}/jobchanges name: workers-id-jobchanges description: REST surface for workers-ID-jobChanges. operations: - method: POST name: createjobchange description: Create Job Change call: staffing-staffing.createjobchange with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/organizationassignments name: workers-id-organizationassignments description: REST surface for workers-ID-organizationAssignments. operations: - method: GET name: getorganizationassignments description: Get Organization Assignments call: staffing-staffing.getorganizationassignments outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/requestonetimepayment name: workers-id-requestonetimepayment description: REST surface for workers-ID-requestOneTimePayment. operations: - method: POST name: requestonetimepayment description: Request One-time Payment call: staffing-staffing.requestonetimepayment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/workers/{id}/terminate name: workers-id-terminate description: REST surface for workers-ID-terminate. operations: - method: POST name: terminateworker description: Terminate Worker call: staffing-staffing.terminateworker with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: staffing-staffing-mcp port: 9090 transport: http description: MCP adapter for Workday Staffing API — Staffing. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-job-change description: Create Job Change hints: readOnly: false destructive: false idempotent: false call: staffing-staffing.createjobchange with: body: tools.body outputParameters: - type: object mapping: $. - name: get-organization-assignments description: Get Organization Assignments hints: readOnly: true destructive: false idempotent: true call: staffing-staffing.getorganizationassignments outputParameters: - type: object mapping: $. - name: request-one-time-payment description: Request One-time Payment hints: readOnly: false destructive: false idempotent: false call: staffing-staffing.requestonetimepayment with: body: tools.body outputParameters: - type: object mapping: $. - name: terminate-worker description: Terminate Worker hints: readOnly: false destructive: false idempotent: false call: staffing-staffing.terminateworker with: body: tools.body outputParameters: - type: object mapping: $.