naftiko: 1.0.0-alpha2 info: label: Absentify API — Public holidays description: 'Absentify API — Public holidays. 2 operations. Lead operation: Absentify Get All Public Holidays. Self-contained Naftiko capability covering one Absentify business surface.' tags: - Absentify - Public holidays created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ABSENTIFY_API_KEY: ABSENTIFY_API_KEY capability: consumes: - type: http namespace: absentify-public-holidays baseUri: https://api.absentify.com/api/v1 description: Absentify API — Public holidays business capability. Self-contained, no shared references. resources: - name: public_holidays path: /public_holidays operations: - name: publicholidaysgetpublicholidays method: GET description: Absentify Get All Public Holidays outputRawFormat: json outputParameters: - name: result type: object value: $. - name: public_holidays-id path: /public_holidays/{id} operations: - name: publicholidaysgetpublicholidaybyid method: GET description: Absentify Read a Public Holiday by Id outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string required: true authentication: type: apikey key: X-API-KEY value: '{{env.ABSENTIFY_API_KEY}}' placement: header exposes: - type: rest namespace: absentify-public-holidays-rest port: 8080 description: REST adapter for Absentify API — Public holidays. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/public-holidays name: public-holidays description: REST surface for public_holidays. operations: - method: GET name: publicholidaysgetpublicholidays description: Absentify Get All Public Holidays call: absentify-public-holidays.publicholidaysgetpublicholidays outputParameters: - type: object mapping: $. - path: /v1/public-holidays/{id} name: public-holidays-id description: REST surface for public_holidays-id. operations: - method: GET name: publicholidaysgetpublicholidaybyid description: Absentify Read a Public Holiday by Id call: absentify-public-holidays.publicholidaysgetpublicholidaybyid with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: absentify-public-holidays-mcp port: 9090 transport: http description: MCP adapter for Absentify API — Public holidays. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: absentify-get-all-public-holidays description: Absentify Get All Public Holidays hints: readOnly: true destructive: false idempotent: true call: absentify-public-holidays.publicholidaysgetpublicholidays outputParameters: - type: object mapping: $. - name: absentify-read-public-holiday-id description: Absentify Read a Public Holiday by Id hints: readOnly: true destructive: false idempotent: true call: absentify-public-holidays.publicholidaysgetpublicholidaybyid with: id: tools.id outputParameters: - type: object mapping: $.