naftiko: 1.0.0-alpha2 info: label: Streaming Services OpenAPI Specification — Apportioned Annual Emissions description: 'Apportioned Annual Emissions. 4 operations. Lead operation: operations. Self-contained Naftiko capability covering one EPA business surface.' tags: - EPA - Apportioned Annual Emissions created: '2026-05-29' modified: '2026-05-29' binds: - namespace: env keys: EPA_APIKEY_KEY: EPA_APIKEY_KEY capability: consumes: - type: http namespace: cam-streaming-apportioned-annual-emissions baseUri: https://api.epa.gov/easey description: Streaming Services OpenAPI Specification — Apportioned Annual Emissions business capability. Self-contained, no shared references. authentication: type: apikey key: x-api-key value: '{{env.EPA_APIKEY_KEY}}' placement: header resources: - name: streaming-services-emissions-apportioned-annual path: /streaming-services/emissions/apportioned/annual operations: - name: annualApportionedEmissionsControllerstreamEmissions method: GET description: annualApportionedEmissionsControllerstreamEmissions inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: year in: query type: array required: true description: The calendar year during which activity occurred. - name: exclude in: query type: array required: false description: Selected items will be excluded from the response - name: addDate in: query type: string required: false description: addDate - name: userid in: query type: string required: false description: userid outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-annual-by-facility path: /streaming-services/emissions/apportioned/annual/by-facility operations: - name: annualApportionedEmissionsControllerstreamEmissionsFacilityAggregation method: GET description: annualApportionedEmissionsControllerstreamEmissionsFacilityAggregation inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: year in: query type: array required: true description: The calendar year during which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-annual-by-state path: /streaming-services/emissions/apportioned/annual/by-state operations: - name: annualApportionedEmissionsControllerstreamEmissionsStateAggregation method: GET description: annualApportionedEmissionsControllerstreamEmissionsStateAggregation inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: year in: query type: array required: true description: The calendar year during which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: streaming-services-emissions-apportioned-annual-nationally path: /streaming-services/emissions/apportioned/annual/nationally operations: - name: annualApportionedEmissionsControllerstreamEmissionsNationalAggregation method: GET description: annualApportionedEmissionsControllerstreamEmissionsNationalAggregation inputParameters: - name: stateCode in: query type: array required: false description: Two letter abbreviation for the State. - name: facilityId in: query type: array required: false description: The Facility ID code assigned by the Department of Energy's Energy Information Administration. The Energy Information Administration Plant ID code is also referred to as the "ORIS code", "ORISPL code" - name: unitType in: query type: array required: false description: Type of unit or boiler. - name: unitFuelType in: query type: array required: false description: Primary or Secondary fuel types combusted by the unit. - name: controlTechnologies in: query type: array required: false description: Method or equipment used by the combustion unit to minimize Hg, NOx, PM, or SO2 emissions. - name: programCodeInfo in: query type: array required: false description: Statutory or regulatory based options for tracking and reducing air pollution emissions. - name: year in: query type: array required: true description: The calendar year during which activity occurred. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: cam-streaming-apportioned-annual-emissions-rest port: 8080 description: REST adapter for Streaming Services OpenAPI Specification — Apportioned Annual Emissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/streaming-services/emissions/apportioned/annual name: streaming-services-emissions-apportioned-annual description: REST surface for annualApportionedEmissionsControllerstreamEmissions. operations: - method: GET name: annualApportionedEmissionsControllerstreamEmissions description: annualApportionedEmissionsControllerstreamEmissions call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissions with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year exclude: rest.exclude addDate: rest.addDate userid: rest.userid outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/annual/by-facility name: streaming-services-emissions-apportioned-annual-by-facility description: REST surface for annualApportionedEmissionsControllerstreamEmissionsFacilityAggregation. operations: - method: GET name: annualApportionedEmissionsControllerstreamEmissionsFacilityAggregation description: annualApportionedEmissionsControllerstreamEmissionsFacilityAggregation call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/annual/by-state name: streaming-services-emissions-apportioned-annual-by-state description: REST surface for annualApportionedEmissionsControllerstreamEmissionsStateAggregation. operations: - method: GET name: annualApportionedEmissionsControllerstreamEmissionsStateAggregation description: annualApportionedEmissionsControllerstreamEmissionsStateAggregation call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year outputParameters: - type: object mapping: $. - path: /v1/streaming-services/emissions/apportioned/annual/nationally name: streaming-services-emissions-apportioned-annual-nationally description: REST surface for annualApportionedEmissionsControllerstreamEmissionsNationalAggregation. operations: - method: GET name: annualApportionedEmissionsControllerstreamEmissionsNationalAggregation description: annualApportionedEmissionsControllerstreamEmissionsNationalAggregation call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year outputParameters: - type: object mapping: $. - type: mcp namespace: cam-streaming-apportioned-annual-emissions-mcp port: 9090 transport: http description: MCP adapter for Streaming Services OpenAPI Specification — Apportioned Annual Emissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: annualapportionedemissionscontroller-streamemissions description: annualapportionedemissionscontroller-streamemissions hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissions with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year exclude: tools.exclude addDate: tools.addDate userid: tools.userid outputParameters: - type: object mapping: $. - name: annualapportionedemissionscontroller-streamemissionsfacilityaggregation description: annualapportionedemissionscontroller-streamemissionsfacilityaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissionsFacilityAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year outputParameters: - type: object mapping: $. - name: annualapportionedemissionscontroller-streamemissionsstateaggregation description: annualapportionedemissionscontroller-streamemissionsstateaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissionsStateAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year outputParameters: - type: object mapping: $. - name: annualapportionedemissionscontroller-streamemissionsnationalaggregation description: annualapportionedemissionscontroller-streamemissionsnationalaggregation hints: readOnly: true destructive: false idempotent: true call: cam-streaming-apportioned-annual-emissions.annualApportionedEmissionsControllerstreamEmissionsNationalAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year outputParameters: - type: object mapping: $.