naftiko: 1.0.0-alpha2 info: label: Walk Score Transit API — Stops description: 'Walk Score Transit API — Stops. 3 operations. Lead operation: Search Transit Network. Self-contained Naftiko capability covering one Walk Score business surface.' tags: - Walk Score - Stops created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: WALK_SCORE_API_KEY: WALK_SCORE_API_KEY capability: consumes: - type: http namespace: transit-stops baseUri: https://transit.walkscore.com description: Walk Score Transit API — Stops business capability. Self-contained, no shared references. resources: - name: transit-search-network path: /transit/search/network/ operations: - name: searchtransitnetwork method: GET description: Search Transit Network outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: wsapikey in: query type: string description: Your Walk Score API key required: true - name: lat in: query type: number description: Search latitude required: true - name: lon in: query type: number description: Search longitude required: true - name: transit-search-stops path: /transit/search/stops/ operations: - name: searchtransitstops method: GET description: Search Transit Stops outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: wsapikey in: query type: string description: Your Walk Score API key required: true - name: lat in: query type: number description: Search latitude required: true - name: lon in: query type: number description: Search longitude required: true - name: transit-stop-stopId path: /transit/stop/{stopId}/ operations: - name: gettransitstop method: GET description: Get Transit Stop outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: stopId in: path type: string description: Stop identifier (e.g. s17737) required: true - name: wsapikey in: query type: string description: Your Walk Score API key required: true authentication: type: apikey key: wsapikey value: '{{env.WALK_SCORE_API_KEY}}' placement: query exposes: - type: rest namespace: transit-stops-rest port: 8080 description: REST adapter for Walk Score Transit API — Stops. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/transit/search/network name: transit-search-network description: REST surface for transit-search-network. operations: - method: GET name: searchtransitnetwork description: Search Transit Network call: transit-stops.searchtransitnetwork with: wsapikey: rest.wsapikey lat: rest.lat lon: rest.lon outputParameters: - type: object mapping: $. - path: /v1/transit/search/stops name: transit-search-stops description: REST surface for transit-search-stops. operations: - method: GET name: searchtransitstops description: Search Transit Stops call: transit-stops.searchtransitstops with: wsapikey: rest.wsapikey lat: rest.lat lon: rest.lon outputParameters: - type: object mapping: $. - path: /v1/transit/stop/{stopid} name: transit-stop-stopid description: REST surface for transit-stop-stopId. operations: - method: GET name: gettransitstop description: Get Transit Stop call: transit-stops.gettransitstop with: stopId: rest.stopId wsapikey: rest.wsapikey outputParameters: - type: object mapping: $. - type: mcp namespace: transit-stops-mcp port: 9090 transport: http description: MCP adapter for Walk Score Transit API — Stops. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: search-transit-network description: Search Transit Network hints: readOnly: true destructive: false idempotent: true call: transit-stops.searchtransitnetwork with: wsapikey: tools.wsapikey lat: tools.lat lon: tools.lon outputParameters: - type: object mapping: $. - name: search-transit-stops description: Search Transit Stops hints: readOnly: true destructive: false idempotent: true call: transit-stops.searchtransitstops with: wsapikey: tools.wsapikey lat: tools.lat lon: tools.lon outputParameters: - type: object mapping: $. - name: get-transit-stop description: Get Transit Stop hints: readOnly: true destructive: false idempotent: true call: transit-stops.gettransitstop with: stopId: tools.stopId wsapikey: tools.wsapikey outputParameters: - type: object mapping: $.