naftiko: 1.0.0-alpha2 info: label: Workday Scheduling API — Labor Demand description: 'Workday Scheduling API — Labor Demand. 2 operations. Lead operation: List Labor Demand. Self-contained Naftiko capability covering one Workday Tracking System business surface.' tags: - Workday Tracking System - Labor Demand created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_TRACKING_SYSTEM_API_KEY: WORKDAY_TRACKING_SYSTEM_API_KEY capability: consumes: - type: http namespace: scheduling-labor-demand baseUri: https://{tenant}.workday.com/api/scheduling/v1 description: Workday Scheduling API — Labor Demand business capability. Self-contained, no shared references. resources: - name: laborDemand path: /laborDemand operations: - name: listlabordemand method: GET description: List Labor Demand outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: organizationId in: query type: string description: Filter by scheduling organization ID - name: startDate in: query type: string description: Start date for labor demand retrieval - name: endDate in: query type: string description: End date for labor demand retrieval - name: createlabordemand method: POST description: Create Labor Demand 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_TRACKING_SYSTEM_API_KEY}}' exposes: - type: rest namespace: scheduling-labor-demand-rest port: 8080 description: REST adapter for Workday Scheduling API — Labor Demand. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/labordemand name: labordemand description: REST surface for laborDemand. operations: - method: GET name: listlabordemand description: List Labor Demand call: scheduling-labor-demand.listlabordemand with: organizationId: rest.organizationId startDate: rest.startDate endDate: rest.endDate outputParameters: - type: object mapping: $. - method: POST name: createlabordemand description: Create Labor Demand call: scheduling-labor-demand.createlabordemand with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: scheduling-labor-demand-mcp port: 9090 transport: http description: MCP adapter for Workday Scheduling API — Labor Demand. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-labor-demand description: List Labor Demand hints: readOnly: true destructive: false idempotent: true call: scheduling-labor-demand.listlabordemand with: organizationId: tools.organizationId startDate: tools.startDate endDate: tools.endDate outputParameters: - type: object mapping: $. - name: create-labor-demand description: Create Labor Demand hints: readOnly: false destructive: false idempotent: false call: scheduling-labor-demand.createlabordemand with: body: tools.body outputParameters: - type: object mapping: $.