naftiko: 1.0.0-alpha2 info: label: Application Research Open Component Model API — Sources description: 'Application Research Open Component Model API — Sources. 2 operations. Lead operation: Application Research List sources for a component. Self-contained Naftiko capability covering one Application Research business surface.' tags: - Application Research - Sources created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: APPLICATION_RESEARCH_API_KEY: APPLICATION_RESEARCH_API_KEY capability: consumes: - type: http namespace: open-component-model-sources baseUri: https://api.ocm.example.com/v1 description: Application Research Open Component Model API — Sources business capability. Self-contained, no shared references. resources: - name: components-name-sources path: /components/{name}/sources operations: - name: listcomponentsources method: GET description: Application Research List sources for a component outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addcomponentsource method: POST description: Application Research Add a source to a component outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.APPLICATION_RESEARCH_API_KEY}}' exposes: - type: rest namespace: open-component-model-sources-rest port: 8080 description: REST adapter for Application Research Open Component Model API — Sources. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/components/{name}/sources name: components-name-sources description: REST surface for components-name-sources. operations: - method: GET name: listcomponentsources description: Application Research List sources for a component call: open-component-model-sources.listcomponentsources outputParameters: - type: object mapping: $. - method: POST name: addcomponentsource description: Application Research Add a source to a component call: open-component-model-sources.addcomponentsource with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: open-component-model-sources-mcp port: 9090 transport: http description: MCP adapter for Application Research Open Component Model API — Sources. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: application-research-list-sources-component description: Application Research List sources for a component hints: readOnly: true destructive: false idempotent: true call: open-component-model-sources.listcomponentsources outputParameters: - type: object mapping: $. - name: application-research-add-source-component description: Application Research Add a source to a component hints: readOnly: true destructive: false idempotent: false call: open-component-model-sources.addcomponentsource with: body: tools.body outputParameters: - type: object mapping: $.