naftiko: 1.0.0-alpha2 info: label: Endpoints — subpackage_eorJobScopes description: 'Endpoints — subpackage_eorJobScopes. 2 operations. Lead operation: List of job scope templates for EOR contracts. Self-contained Naftiko capability covering one Deel business surface.' tags: - Deel - subpackage_eorJobScopes 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-eorjobscopes baseUri: https://api.letsdeel.com/rest/v2 description: Endpoints — subpackage_eorJobScopes business capability. Self-contained, no shared references. resources: - name: eor-job-scopes path: /eor/job-scopes operations: - name: getjobscopes method: GET description: List of job scope templates for EOR contracts outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: team in: query type: string description: Team public id - name: Authorization in: header type: string description: '## Authentication' required: true - name: eor-job-scopes-validate path: /eor/job-scopes/validate operations: - name: validatejobscope method: POST description: Request job scope validation 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-eorjobscopes-rest port: 8080 description: REST adapter for Endpoints — subpackage_eorJobScopes. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/eor/job-scopes name: eor-job-scopes description: REST surface for eor-job-scopes. operations: - method: GET name: getjobscopes description: List of job scope templates for EOR contracts call: platform-endpoints-subpackage-eorjobscopes.getjobscopes with: team: rest.team Authorization: rest.Authorization outputParameters: - type: object mapping: $. - path: /v1/eor/job-scopes/validate name: eor-job-scopes-validate description: REST surface for eor-job-scopes-validate. operations: - method: POST name: validatejobscope description: Request job scope validation call: platform-endpoints-subpackage-eorjobscopes.validatejobscope with: Authorization: rest.Authorization body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: platform-endpoints-subpackage-eorjobscopes-mcp port: 9090 transport: http description: MCP adapter for Endpoints — subpackage_eorJobScopes. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-job-scope-templates-eor description: List of job scope templates for EOR contracts hints: readOnly: true destructive: false idempotent: true call: platform-endpoints-subpackage-eorjobscopes.getjobscopes with: team: tools.team Authorization: tools.Authorization outputParameters: - type: object mapping: $. - name: request-job-scope-validation description: Request job scope validation hints: readOnly: false destructive: false idempotent: false call: platform-endpoints-subpackage-eorjobscopes.validatejobscope with: Authorization: tools.Authorization body: tools.body outputParameters: - type: object mapping: $.