naftiko: 1.0.0-alpha2 info: label: Data Commons REST API V2 — Node description: 'Data Commons REST API V2 — Node. 2 operations. Lead operation: Query node properties and arcs. Self-contained Naftiko capability covering one Data Commons business surface.' tags: - Data Commons - Node created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATA_COMMONS_API_KEY: DATA_COMMONS_API_KEY capability: consumes: - type: http namespace: data-commons-node baseUri: https://api.datacommons.org/v2 description: Data Commons REST API V2 — Node business capability. Self-contained, no shared references. resources: - name: node path: /node operations: - name: get method: GET description: Query node properties and arcs outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: nodes in: query type: array - name: property in: query type: string - name: post method: POST description: Query node properties and arcs 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.DATA_COMMONS_API_KEY}}' placement: header exposes: - type: rest namespace: data-commons-node-rest port: 8080 description: REST adapter for Data Commons REST API V2 — Node. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/node name: node description: REST surface for node. operations: - method: GET name: get description: Query node properties and arcs call: data-commons-node.get with: nodes: rest.nodes property: rest.property outputParameters: - type: object mapping: $. - method: POST name: post description: Query node properties and arcs call: data-commons-node.post with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: data-commons-node-mcp port: 9090 transport: http description: MCP adapter for Data Commons REST API V2 — Node. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: query-node-properties-and-arcs description: Query node properties and arcs hints: readOnly: true destructive: false idempotent: true call: data-commons-node.get with: nodes: tools.nodes property: tools.property outputParameters: - type: object mapping: $. - name: query-node-properties-and-arcs-2 description: Query node properties and arcs hints: readOnly: true destructive: false idempotent: false call: data-commons-node.post with: body: tools.body outputParameters: - type: object mapping: $.