naftiko: 1.0.0-alpha2 info: label: Harbor Compliance API — Licenses description: 'Harbor Compliance API — Licenses. 4 operations. Lead operation: Harbor Compliance List business licenses. Self-contained Naftiko capability covering one Harbor Compliance business surface.' tags: - Harbor Compliance - Licenses created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: HARBOR_COMPLIANCE_API_KEY: HARBOR_COMPLIANCE_API_KEY capability: consumes: - type: http namespace: harbor-compliance-licenses baseUri: https://api.harborcompliance.com/v1 description: Harbor Compliance API — Licenses business capability. Self-contained, no shared references. resources: - name: licenses path: /licenses operations: - name: listlicenses method: GET description: Harbor Compliance List business licenses outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: entity_id in: query type: string description: Filter licenses by entity identifier. - name: state in: query type: string description: Filter licenses by state jurisdiction. - name: status in: query type: string description: Filter by license status. - name: createlicense method: POST description: Harbor Compliance Create a license application outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: licenses-licenseId path: /licenses/{licenseId} operations: - name: getlicense method: GET description: Harbor Compliance Get a business license outputRawFormat: json outputParameters: - name: result type: object value: $. - name: licenses-licenseId-renew path: /licenses/{licenseId}/renew operations: - name: renewlicense method: POST description: Harbor Compliance Renew a business license outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: apikey key: X-API-Key value: '{{env.HARBOR_COMPLIANCE_API_KEY}}' placement: header exposes: - type: rest namespace: harbor-compliance-licenses-rest port: 8080 description: REST adapter for Harbor Compliance API — Licenses. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/licenses name: licenses description: REST surface for licenses. operations: - method: GET name: listlicenses description: Harbor Compliance List business licenses call: harbor-compliance-licenses.listlicenses with: entity_id: rest.entity_id state: rest.state status: rest.status outputParameters: - type: object mapping: $. - method: POST name: createlicense description: Harbor Compliance Create a license application call: harbor-compliance-licenses.createlicense with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/licenses/{licenseid} name: licenses-licenseid description: REST surface for licenses-licenseId. operations: - method: GET name: getlicense description: Harbor Compliance Get a business license call: harbor-compliance-licenses.getlicense outputParameters: - type: object mapping: $. - path: /v1/licenses/{licenseid}/renew name: licenses-licenseid-renew description: REST surface for licenses-licenseId-renew. operations: - method: POST name: renewlicense description: Harbor Compliance Renew a business license call: harbor-compliance-licenses.renewlicense with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: harbor-compliance-licenses-mcp port: 9090 transport: http description: MCP adapter for Harbor Compliance API — Licenses. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: harbor-compliance-list-business-licenses description: Harbor Compliance List business licenses hints: readOnly: true destructive: false idempotent: true call: harbor-compliance-licenses.listlicenses with: entity_id: tools.entity_id state: tools.state status: tools.status outputParameters: - type: object mapping: $. - name: harbor-compliance-create-license-application description: Harbor Compliance Create a license application hints: readOnly: false destructive: false idempotent: false call: harbor-compliance-licenses.createlicense with: body: tools.body outputParameters: - type: object mapping: $. - name: harbor-compliance-get-business-license description: Harbor Compliance Get a business license hints: readOnly: true destructive: false idempotent: true call: harbor-compliance-licenses.getlicense outputParameters: - type: object mapping: $. - name: harbor-compliance-renew-business-license description: Harbor Compliance Renew a business license hints: readOnly: false destructive: false idempotent: false call: harbor-compliance-licenses.renewlicense with: body: tools.body outputParameters: - type: object mapping: $.