From e054651c67ec19000e3339627586083a5f7e05dd Mon Sep 17 00:00:00 2001 From: Raimundo Henriques Date: Wed, 6 Mar 2024 14:13:08 +0100 Subject: [PATCH] feat: replace characterizationFactorsSources by ippcCharacterizationFactorsSources --- ...ide-clarity-on-characterization-factors.md | 2 +- spec/v2/index.bs | 51 ++++--------------- 2 files changed, 12 insertions(+), 41 deletions(-) diff --git a/decisions/log/0028-provide-clarity-on-characterization-factors.md b/decisions/log/0028-provide-clarity-on-characterization-factors.md index 49c1b00..af34101 100644 --- a/decisions/log/0028-provide-clarity-on-characterization-factors.md +++ b/decisions/log/0028-provide-clarity-on-characterization-factors.md @@ -37,7 +37,7 @@ preference for having the possibility of including more than one characterizatio (Please refer to the proposed changes to the technical specification for a more detailed and complete diff.) -2. Add the new mandatory property `characterizationFactorsSources` with the new data type `CharacterizationFactorsSources`, defined as a non-empty `Array` of `CharacterizationFactorsSource`. The new data type `CharacterizationFactorsSource` is defined as an `Object` with the mandatory fields `"name"` and `"version"`, both of which are non-empty `Strings`. The value of the `"name"` field SHOULD be `"IPCC Assessment Report"` and the version SHOULD be either `"5"` or `"6"`. +2. Add the new mandatory property `ipccCharacterizationFactorsSources` defined as a non-empty `Array` of `Strings` with the format `AR$VERSION$`, where `$VERSION$` stands for the IPCC report version number and MUST be an integer. ### Rationale diff --git a/spec/v2/index.bs b/spec/v2/index.bs index c08cf93..dc02178 100644 --- a/spec/v2/index.bs +++ b/spec/v2/index.bs @@ -502,13 +502,19 @@ Advisement: :: for the Sixth Assessment Report of the Intergovernmental Panel on Climate Change (IPCC) : `AR5` :: for the Fifth Assessment Report of the IPCC. - - characterizationFactorsSources : <{CharacterizationFactorsSource}>[] - Array + + ipccCharacterizationFactorsSources + Array of Strings M - The characterization factors from one or more IPCC Assessment Reports used in the calculation of the PCF (see [=Pathfinder Framework=] Section 3.2.2). The value MUST be a non-empty set of <{CharacterizationFactorsSource}>. + The characterization factors from one or more IPCC Assessment Reports used in the calculation of the PCF (see [=Pathfinder Framework=] Section 3.2.2). + It MUST be a non-empty set of strings with the format `AR$VERSION$`, where `$VERSION$` stands for the + IPCC report version number and MUST be an integer. - Advisement: Per the Framework, the latest available characterization factor version shall be used. In the event this is not possible, include the set of all characterization factors used. + Example values: +
["AR6"]
+
["AR5", "AR6"]
+ + Advisement: Per the Framework, the latest available characterization factor version shall be used, i.e., `["AR6"]`. In the event this is not possible, include the set of all characterization factors used. crossSectoralStandardsUsed : [=CrossSectoralStandardSet=] Array @@ -1390,41 +1396,6 @@ Example JSON string value: ``` -## Data Type: CharacterizationFactorsSource ## {#dt-characterizationfactorssource} - -A `CharacterizationFactorsSource` references a source of the characterization factors used in the calculation of the <{CarbonFootprint}> (see [=Pathfinder Framework=] Section 3.2.2). - -### Properties ### {#dt-characterizationfactorssource-properties} - -
-: name (mandatory, data type: [=NonEmptyString=]) -:: The non-empty name of the - characterization factors source. Presently, the value SHOULD be `"IPCC Assessment Report"`, - referring to the characterization factors (100-year GWP, including carbon feedbacks) derived from - the IPCC Assessment Report publication. - -: version (mandatory, data type: [=NonEmptyString=]) -:: The non-empty version of the - characterization factors source. Presently, the value SHOULD be either `"5"` or `"6"`, referring to - the 5th (AR5) and 6th (AR6) IPCC Assessment Reports, respectively. -
- -
-Example encoding of a <{CharacterizationFactorsSource}> in JSON: - -```json -{ - "name": "IPCC Assessment Report", - "version": "6" -} -``` -
- - -### JSON Representation ### {#dt-characterizationfactorssource-json} - -Each <{CharacterizationFactorsSource}> MUST be encoded as a JSON object. - # Product Footprint Lifecycle # {#lifecycle} ## Introduction ## {#lifecycle-intro}