naftiko: 1.0.0-alpha2 info: label: Workday Financials Workday Revenue Management API — Revenue Contracts description: 'Workday Financials Workday Revenue Management API — Revenue Contracts. 3 operations. Lead operation: Workday Financials List revenue contracts. Self-contained Naftiko capability covering one Workday Financials business surface.' tags: - Workday Financials - Revenue Contracts created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WORKDAY_FINANCIALS_API_KEY: WORKDAY_FINANCIALS_API_KEY capability: consumes: - type: http namespace: revenue-management-revenue-contracts baseUri: https://{tenant}.workday.com/api/revenueManagement/v38.2 description: Workday Financials Workday Revenue Management API — Revenue Contracts business capability. Self-contained, no shared references. resources: - name: revenueContracts path: /revenueContracts operations: - name: listrevenuecontracts method: GET description: Workday Financials List revenue contracts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: status in: query type: string description: Filter by contract status - name: revenueContracts-id path: /revenueContracts/{id} operations: - name: getrevenuecontract method: GET description: Workday Financials Get a revenue contract outputRawFormat: json outputParameters: - name: result type: object value: $. - name: revenueContracts-id-performanceObligations path: /revenueContracts/{id}/performanceObligations operations: - name: listperformanceobligations method: GET description: Workday Financials List performance obligations for a contract outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.WORKDAY_FINANCIALS_API_KEY}}' exposes: - type: rest namespace: revenue-management-revenue-contracts-rest port: 8080 description: REST adapter for Workday Financials Workday Revenue Management API — Revenue Contracts. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/revenuecontracts name: revenuecontracts description: REST surface for revenueContracts. operations: - method: GET name: listrevenuecontracts description: Workday Financials List revenue contracts call: revenue-management-revenue-contracts.listrevenuecontracts with: status: rest.status outputParameters: - type: object mapping: $. - path: /v1/revenuecontracts/{id} name: revenuecontracts-id description: REST surface for revenueContracts-id. operations: - method: GET name: getrevenuecontract description: Workday Financials Get a revenue contract call: revenue-management-revenue-contracts.getrevenuecontract outputParameters: - type: object mapping: $. - path: /v1/revenuecontracts/{id}/performanceobligations name: revenuecontracts-id-performanceobligations description: REST surface for revenueContracts-id-performanceObligations. operations: - method: GET name: listperformanceobligations description: Workday Financials List performance obligations for a contract call: revenue-management-revenue-contracts.listperformanceobligations outputParameters: - type: object mapping: $. - type: mcp namespace: revenue-management-revenue-contracts-mcp port: 9090 transport: http description: MCP adapter for Workday Financials Workday Revenue Management API — Revenue Contracts. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: workday-financials-list-revenue-contracts description: Workday Financials List revenue contracts hints: readOnly: true destructive: false idempotent: true call: revenue-management-revenue-contracts.listrevenuecontracts with: status: tools.status outputParameters: - type: object mapping: $. - name: workday-financials-get-revenue-contract description: Workday Financials Get a revenue contract hints: readOnly: true destructive: false idempotent: true call: revenue-management-revenue-contracts.getrevenuecontract outputParameters: - type: object mapping: $. - name: workday-financials-list-performance-obligations description: Workday Financials List performance obligations for a contract hints: readOnly: true destructive: false idempotent: true call: revenue-management-revenue-contracts.listperformanceobligations outputParameters: - type: object mapping: $.