naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_candidates description: 'Endpoints — subpackage_candidates. 1 operations. Lead operation: Add Candidate. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_candidates created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DEEL_API_KEY: DEEL_API_KEY capability: consumes: - type: http namespace: platform-endpoints-subpackage-candidates baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_candidates business capability. Self-contained, no shared references. resources: - name: candidates path: /candidates operations: - name: addcandidate method: POST description: Add Candidate outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: Authorization in: header type: string description: '## Authentication' required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.DEEL_API_KEY}}' exposes: - type: rest namespace: platform-endpoints-subpackage-candidates-rest port: 8080 description: REST adapter for Endpoints — subpackage_candidates. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/candidates name: candidates description: REST surface for candidates. operations: - method: POST name: addcandidate description: Add Candidate call: platform-endpoints-subpackage-candidates.addcandidate with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: platform-endpoints-subpackage-candidates-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_candidates. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-candidate description: Add Candidate hints: readOnly: false destructive: false idempotent: false call: platform-endpoints-subpackage-candidates.addcandidate with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $.