naftiko: 1.0.0-alpha2 info: label: U.S. EPA Enforcement and Compliance History Online (ECHO) - Enforcement Case Search — Metadata description: 'Metadata. 2 operations. Lead operation: Enforcement Case Metadata Service. Self-contained Naftiko capability covering one EPA business surface.' tags: - EPA - Metadata created: '2026-05-29' modified: '2026-05-29' binds: - namespace: env keys: {} capability: consumes: - type: http namespace: echo-case-metadata baseUri: https://echodata.epa.gov/echo description: U.S. EPA Enforcement and Compliance History Online (ECHO) - Enforcement Case Search — Metadata business capability. Self-contained, no shared references. resources: - name: case-rest-services-metadata path: /case_rest_services.metadata operations: - name: getcaserestservicesmetadata method: GET description: Enforcement Case Metadata Service inputParameters: - name: output in: query type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: query type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: case-rest-services-metadata path: /case_rest_services.metadata operations: - name: postcaserestservicesmetadata method: POST description: Enforcement Case Metadata Service inputParameters: - name: output in: formData type: string required: false description: "Output Format Flag. Enter one of the following keywords:\n- JSON = Data model formatted as Javascript Object Notation (default).\n- JSONP = Data model formatted as Javascript Object Notation with Paddi" - name: callback in: formData type: string required: false description: JSONP Callback. For use with JSONP and GEOJSONP output only. Enter a name of the function in which to wrap the JSON response. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: echo-case-metadata-rest port: 8080 description: REST adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Enforcement Case Search — Metadata. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/case_rest_services.metadata name: case-rest-services-metadata description: REST surface for Enforcement Case Metadata Service. operations: - method: GET name: getcaserestservicesmetadata description: Enforcement Case Metadata Service call: echo-case-metadata.getcaserestservicesmetadata with: output: rest.output callback: rest.callback outputParameters: - type: object mapping: $. - path: /v1/case_rest_services.metadata name: case-rest-services-metadata description: REST surface for Enforcement Case Metadata Service. operations: - method: POST name: postcaserestservicesmetadata description: Enforcement Case Metadata Service call: echo-case-metadata.postcaserestservicesmetadata with: output: rest.output callback: rest.callback outputParameters: - type: object mapping: $. - type: mcp namespace: echo-case-metadata-mcp port: 9090 transport: http description: MCP adapter for U.S. EPA Enforcement and Compliance History Online (ECHO) - Enforcement Case Search — Metadata. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: enforcement-case-metadata-service description: Enforcement Case Metadata Service hints: readOnly: true destructive: false idempotent: true call: echo-case-metadata.getcaserestservicesmetadata with: output: tools.output callback: tools.callback outputParameters: - type: object mapping: $. - name: enforcement-case-metadata-service-2 description: Enforcement Case Metadata Service hints: readOnly: false destructive: false idempotent: false call: echo-case-metadata.postcaserestservicesmetadata with: output: tools.output callback: tools.callback outputParameters: - type: object mapping: $.