Skip to content

Commit

Permalink
api: impacts per lc step, raw impact in trace
Browse files Browse the repository at this point in the history
api: required properties
  • Loading branch information
Peva Blanchard committed Nov 26, 2024
1 parent c3b0109 commit 7cfa4e4
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,12 @@ components:
type: object
required:
- total
- per_lc_step
properties:
total:
$ref: '#/components/schemas/QuantityDto'
# TODO: per lc step
per_lc_step:
$ref: '#/components/schemas/ImpactPerLcStepDto'
PoolDto:
type: object
required:
Expand Down Expand Up @@ -437,7 +439,9 @@ components:
supply:
$ref: '#/components/schemas/QuantityDto'
impacts:
$ref: '#/components/schemas/ImpactsDto'
type: array
items:
$ref: '#/components/schemas/RawImpactDto'
ParameterDto:
type: object
required:
Expand Down Expand Up @@ -512,4 +516,27 @@ components:
default: [ ]
items:
$ref: '#/components/schemas/ProcessLabelDto'
ImpactPerLcStepDto:
type: object
required:
- manufacturing
- transport
- use
- end_of_life
properties:
manufacturing:
$ref: '#/components/schemas/QuantityDto'
transport:
$ref: '#/components/schemas/QuantityDto'
use:
$ref: '#/components/schemas/QuantityDto'
end_of_life:
$ref: '#/components/schemas/QuantityDto'
RawImpactDto:
type: object
properties:
indicator:
type: string
value:
$ref: '#/components/schemas/QuantityDto'

0 comments on commit 7cfa4e4

Please sign in to comment.