naftiko: 1.0.0-alpha2 info: label: Emissions Management 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-emissions-apportioned-annual-emissions baseUri: https://api.epa.gov/easey description: Emissions Management 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: emissions-mgmt-emissions-apportioned-annual path: /emissions-mgmt/emissions/apportioned/annual operations: - name: annualApportionedEmissionsControllergetEmissions method: GET description: annualApportionedEmissionsControllergetEmissions 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: page in: query type: number required: true description: Page number of data being requested. - name: perPage in: query type: number required: true description: Number of results per page. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: emissions-mgmt-emissions-apportioned-annual-by-facility path: /emissions-mgmt/emissions/apportioned/annual/by-facility operations: - name: annualApportionedEmissionsControllergetEmissionsFacilityAggregation method: GET description: annualApportionedEmissionsControllergetEmissionsFacilityAggregation 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: page in: query type: number required: true description: Page number of data being requested. - name: perPage in: query type: number required: true description: Number of results per page. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: emissions-mgmt-emissions-apportioned-annual-by-state path: /emissions-mgmt/emissions/apportioned/annual/by-state operations: - name: annualApportionedEmissionsControllergetEmissionsStateAggregation method: GET description: annualApportionedEmissionsControllergetEmissionsStateAggregation 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: page in: query type: number required: true description: Page number of data being requested. - name: perPage in: query type: number required: true description: Number of results per page. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: emissions-mgmt-emissions-apportioned-annual-nationally path: /emissions-mgmt/emissions/apportioned/annual/nationally operations: - name: annualApportionedEmissionsControllergetEmissionsNationalAggregation method: GET description: annualApportionedEmissionsControllergetEmissionsNationalAggregation 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: page in: query type: number required: true description: Page number of data being requested. - name: perPage in: query type: number required: true description: Number of results per page. outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: cam-emissions-apportioned-annual-emissions-rest port: 8080 description: REST adapter for Emissions Management OpenAPI Specification — Apportioned Annual Emissions. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/emissions-mgmt/emissions/apportioned/annual name: emissions-mgmt-emissions-apportioned-annual description: REST surface for annualApportionedEmissionsControllergetEmissions. operations: - method: GET name: annualApportionedEmissionsControllergetEmissions description: annualApportionedEmissionsControllergetEmissions call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissions with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year page: rest.page perPage: rest.perPage outputParameters: - type: object mapping: $. - path: /v1/emissions-mgmt/emissions/apportioned/annual/by-facility name: emissions-mgmt-emissions-apportioned-annual-by-facility description: REST surface for annualApportionedEmissionsControllergetEmissionsFacilityAggregation. operations: - method: GET name: annualApportionedEmissionsControllergetEmissionsFacilityAggregation description: annualApportionedEmissionsControllergetEmissionsFacilityAggregation call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissionsFacilityAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year page: rest.page perPage: rest.perPage outputParameters: - type: object mapping: $. - path: /v1/emissions-mgmt/emissions/apportioned/annual/by-state name: emissions-mgmt-emissions-apportioned-annual-by-state description: REST surface for annualApportionedEmissionsControllergetEmissionsStateAggregation. operations: - method: GET name: annualApportionedEmissionsControllergetEmissionsStateAggregation description: annualApportionedEmissionsControllergetEmissionsStateAggregation call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissionsStateAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year page: rest.page perPage: rest.perPage outputParameters: - type: object mapping: $. - path: /v1/emissions-mgmt/emissions/apportioned/annual/nationally name: emissions-mgmt-emissions-apportioned-annual-nationally description: REST surface for annualApportionedEmissionsControllergetEmissionsNationalAggregation. operations: - method: GET name: annualApportionedEmissionsControllergetEmissionsNationalAggregation description: annualApportionedEmissionsControllergetEmissionsNationalAggregation call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissionsNationalAggregation with: stateCode: rest.stateCode facilityId: rest.facilityId unitType: rest.unitType unitFuelType: rest.unitFuelType controlTechnologies: rest.controlTechnologies programCodeInfo: rest.programCodeInfo year: rest.year page: rest.page perPage: rest.perPage outputParameters: - type: object mapping: $. - type: mcp namespace: cam-emissions-apportioned-annual-emissions-mcp port: 9090 transport: http description: MCP adapter for Emissions Management OpenAPI Specification — Apportioned Annual Emissions. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: annualapportionedemissionscontroller-getemissions description: annualapportionedemissionscontroller-getemissions hints: readOnly: true destructive: false idempotent: true call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissions with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year page: tools.page perPage: tools.perPage outputParameters: - type: object mapping: $. - name: annualapportionedemissionscontroller-getemissionsfacilityaggregation description: annualapportionedemissionscontroller-getemissionsfacilityaggregation hints: readOnly: true destructive: false idempotent: true call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissionsFacilityAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year page: tools.page perPage: tools.perPage outputParameters: - type: object mapping: $. - name: annualapportionedemissionscontroller-getemissionsstateaggregation description: annualapportionedemissionscontroller-getemissionsstateaggregation hints: readOnly: true destructive: false idempotent: true call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissionsStateAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year page: tools.page perPage: tools.perPage outputParameters: - type: object mapping: $. - name: annualapportionedemissionscontroller-getemissionsnationalaggregation description: annualapportionedemissionscontroller-getemissionsnationalaggregation hints: readOnly: true destructive: false idempotent: true call: cam-emissions-apportioned-annual-emissions.annualApportionedEmissionsControllergetEmissionsNationalAggregation with: stateCode: tools.stateCode facilityId: tools.facilityId unitType: tools.unitType unitFuelType: tools.unitFuelType controlTechnologies: tools.controlTechnologies programCodeInfo: tools.programCodeInfo year: tools.year page: tools.page perPage: tools.perPage outputParameters: - type: object mapping: $.