diff --git a/jest.frontend.config.ts b/jest.frontend.config.ts index ad6fc46..903bf3e 100644 --- a/jest.frontend.config.ts +++ b/jest.frontend.config.ts @@ -1,5 +1,6 @@ import nextJest from 'next/jest'; import { Config } from 'jest'; +import { TextDecoder, TextEncoder } from 'util'; export {}; const createJestConfig = nextJest({ @@ -11,6 +12,13 @@ const config: Config = { setupFilesAfterEnv: ['/jest.setup.ts'], testEnvironment: 'jsdom', modulePathIgnorePatterns: ['cypress'], + globals: { + 'ts-jest': { + tsConfigFile: 'tsconfig.json', + }, + TextEncoder: TextEncoder, + TextDecoder: TextDecoder, + }, // mock all svg files moduleNameMapper: { '^.+\\.(svg)$': '/__mocks__/svg.tsx', @@ -28,7 +36,7 @@ const jestConfigWithOverrides = async (...args) => { // Don't ignore specific node_modules during transformation. This is needed if a node_module doesn't return valid JavaScript files. res.transformIgnorePatterns = res.transformIgnorePatterns!.map((pattern) => { if (pattern === '/node_modules/') { - return '/node_modules/(?!flat|jose|ol|color-space|color-rgba|color-parse|color-name|quick-lru)'; + return '/node_modules/(?!.+)'; } return pattern; }); diff --git a/src/app/[locale]/viewer/_components/submodel/SubmodelDetail.spec.tsx b/src/app/[locale]/viewer/_components/submodel/SubmodelDetail.spec.tsx new file mode 100644 index 0000000..65d5042 --- /dev/null +++ b/src/app/[locale]/viewer/_components/submodel/SubmodelDetail.spec.tsx @@ -0,0 +1,49 @@ +import { screen } from '@testing-library/react'; +import { expect } from '@jest/globals'; +import { SubmodelDetail } from 'app/[locale]/viewer/_components/submodel/SubmodelDetail'; +import testSubmodel from '../submodel/carbon-footprint/test-submodel/carbonFootprint-test.json'; +import { Submodel } from '@aas-core-works/aas-core3.0-typescript/types'; +import { CustomRenderReactIntl } from 'test-utils/CustomRenderReactIntl'; + +window.ResizeObserver = + window.ResizeObserver || + jest.fn().mockImplementation(() => ({ + disconnect: jest.fn(), + observe: jest.fn(), + unobserve: jest.fn(), + })); + +jest.mock('recharts', () => { + const OriginalRechartsModule = jest.requireActual('recharts'); + + return { + ...OriginalRechartsModule, + ResponsiveContainer: ({ height, children }: never) => ( +
+ {children} +
+ ), + }; +}); + +jest.mock('next-auth', jest.fn()); + +describe('Submodel Detail', () => { + it('should render CarbonFootprintVisualizations for irdi id', async () => { + CustomRenderReactIntl( + , + ); + const map = screen.getByTestId('carbonFootprintVisualizations'); + expect(map).toBeDefined(); + expect(map).toBeInTheDocument(); + }); + + it('should render CarbonFootprintVisualizations for URL id', async () => { + CustomRenderReactIntl( + , + ); + const map = screen.getByTestId('carbonFootprintVisualizations'); + expect(map).toBeDefined(); + expect(map).toBeInTheDocument(); + }); +}); diff --git a/src/app/[locale]/viewer/_components/submodel/carbon-footprint/CarbonFootprintVisualizations.tsx b/src/app/[locale]/viewer/_components/submodel/carbon-footprint/CarbonFootprintVisualizations.tsx index 2ac6ab9..b3e1002 100644 --- a/src/app/[locale]/viewer/_components/submodel/carbon-footprint/CarbonFootprintVisualizations.tsx +++ b/src/app/[locale]/viewer/_components/submodel/carbon-footprint/CarbonFootprintVisualizations.tsx @@ -53,7 +53,7 @@ export function CarbonFootprintVisualizations(props: { submodel: Submodel }) { const calculationMethod = extractCalculationMethod(pcfSubmodelElements); return ( - + diff --git a/src/app/[locale]/viewer/_components/submodel/carbon-footprint/test-submodel/carbonFootprint-test.json b/src/app/[locale]/viewer/_components/submodel/carbon-footprint/test-submodel/carbonFootprint-test.json new file mode 100644 index 0000000..79c2119 --- /dev/null +++ b/src/app/[locale]/viewer/_components/submodel/carbon-footprint/test-submodel/carbonFootprint-test.json @@ -0,0 +1,2850 @@ +{ + "carbonFootprint-IrdiId": { + "idShort": "CarbonFootprint", + "id": "https://i40.xitaso.com/submodel/testCarbonFootprint_00", + "dataSpecification": [], + "embeddedDataSpecifications": [], + "modelType": "Submodel", + "kind": "Instance", + "submodelElements": [ + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#01-AHE716#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ProductCarbonFootprint A4", + "value": [ + { + "value": "GHG Protocol", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG854#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCalculationMethod", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Standard, method for determining the greenhouse gas emissions of a product" + } + ] + }, + { + "value": "0.123", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG855#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCO2eq", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Sum of all greenhouse gas emissions of a product according to the quantification requirements of the standard" + } + ] + }, + { + "value": "piece", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG856#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFReferenceValueForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity unit of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "1", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG857#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFQuantityOfMeasureForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "A4 - transport to final destination", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG858#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFLiveCyclePhase", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "OneToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Life cycle stages of the product according to the quantification requirements of the standard to which the PCF carbon footprint statement refers" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABI497#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFGoodsAddressHandover", + "value": [ + { + "value": "TestStr", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH956#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Street", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Street indication of the place of transfer of goods" + } + ] + }, + { + "value": "35", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH957#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "HouseNumber", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Number for identification or differentiation of individual houses of a street" + } + ] + }, + { + "value": "12345", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH958#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ZipCode", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Zip code of the goods transfer address" + } + ] + }, + { + "value": "TestTown", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH959#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "CityTown", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Indication of the city or town of the transfer of goods" + } + ] + }, + { + "value": "Germany", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-AAO259#005" + } + ], + "type": "ExternalReference" + }, + "idShort": "Country", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Country where the product is transmitted" + } + ] + }, + { + "value": "48.389832", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH960#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Latitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Latitude (B), also called geodetic latitude or latitude (Latin latitudo, English latitude, international abbreviation Lat. or LAT), is the northerly or southerly distance of a point on the earth's surface from the equator, given in angular measure in the unit of measurement degrees" + } + ] + }, + { + "value": "10.887690", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH961#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Longitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Geographic longitude, also called longitude (Latin longitudo, English longitude, international abbreviation long or LON), describes one of the two coordinates of a location on the earth's surface, namely its position east or west of a defined (arbitrarily determined) north-south line, the prime meridian" + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Indicates the place of hand-over of the goods " + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Balance of greenhouse gas emissions along the entire life cycle of a product in a defined application and in relation to a defined unit of use" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#01-AHE716#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ProductCarbonFootprint A1", + "value": [ + { + "value": "GHG Protocol", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG854#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCalculationMethod", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Standard, method for determining the greenhouse gas emissions of a product" + } + ] + }, + { + "value": "0.235", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG855#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCO2eq", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Sum of all greenhouse gas emissions of a product according to the quantification requirements of the standard" + } + ] + }, + { + "value": "piece", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG856#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFReferenceValueForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity unit of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "1", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG857#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFQuantityOfMeasureForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "A1 - raw material supply (and upstream production)", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG858#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFLiveCyclePhase", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "OneToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Life cycle stages of the product according to the quantification requirements of the standard to which the PCF carbon footprint statement refers" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABI497#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFGoodsAddressHandover", + "value": [ + { + "value": "TestStr", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH956#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Street", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Street indication of the place of transfer of goods" + } + ] + }, + { + "value": "122", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH957#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "HouseNumber", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Number for identification or differentiation of individual houses of a street" + } + ] + }, + { + "value": "12345", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH958#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ZipCode", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Zip code of the goods transfer address" + } + ] + }, + { + "value": "TestTown", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH959#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "CityTown", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Indication of the city or town of the transfer of goods" + } + ] + }, + { + "value": "Germany", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-AAO259#005" + } + ], + "type": "ExternalReference" + }, + "idShort": "Country", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Country where the product is transmitted" + } + ] + }, + { + "value": "51.151277079867036", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH960#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Latitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Latitude (B), also called geodetic latitude or latitude (Latin latitudo, English latitude, international abbreviation Lat. or LAT), is the northerly or southerly distance of a point on the earth's surface from the equator, given in angular measure in the unit of measurement degrees" + } + ] + }, + { + "value": "6.777799507862787", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH961#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Longitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Geographic longitude, also called longitude (Latin longitudo, English longitude, international abbreviation long or LON), describes one of the two coordinates of a location on the earth's surface, namely its position east or west of a defined (arbitrarily determined) north-south line, the prime meridian" + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Indicates the place of hand-over of the goods " + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Balance of greenhouse gas emissions along the entire life cycle of a product in a defined application and in relation to a defined unit of use" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#01-AHE716#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ProductCarbonFootprint A3", + "value": [ + { + "value": "GHG Protocol", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG854#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCalculationMethod", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Standard, method for determining the greenhouse gas emissions of a product" + } + ] + }, + { + "value": "0.823", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG855#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCO2eq", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Sum of all greenhouse gas emissions of a product according to the quantification requirements of the standard" + } + ] + }, + { + "value": "piece", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG856#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFReferenceValueForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity unit of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "1", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG857#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFQuantityOfMeasureForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "A3 - production", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG858#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFLiveCyclePhase", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "OneToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Life cycle stages of the product according to the quantification requirements of the standard to which the PCF carbon footprint statement refers" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABI497#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFGoodsAddressHandover", + "value": [ + { + "value": "TestStr", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH956#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Street", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Street indication of the place of transfer of goods" + } + ] + }, + { + "value": "Halle 8", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH957#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "HouseNumber", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Number for identification or differentiation of individual houses of a street" + } + ] + }, + { + "value": "12345", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH958#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ZipCode", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Zip code of the goods transfer address" + } + ] + }, + { + "value": "TestTown", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH959#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "CityTown", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Indication of the city or town of the transfer of goods" + } + ] + }, + { + "value": "Germany", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-AAO259#005" + } + ], + "type": "ExternalReference" + }, + "idShort": "Country", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Country where the product is transmitted" + } + ] + }, + { + "value": "52.322049093658464", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH960#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Latitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Latitude (B), also called geodetic latitude or latitude (Latin latitudo, English latitude, international abbreviation Lat. or LAT), is the northerly or southerly distance of a point on the earth's surface from the equator, given in angular measure in the unit of measurement degrees" + } + ] + }, + { + "value": "9.81150344024394", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH961#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Longitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Geographic longitude, also called longitude (Latin longitudo, English longitude, international abbreviation long or LON), describes one of the two coordinates of a location on the earth's surface, namely its position east or west of a defined (arbitrarily determined) north-south line, the prime meridian" + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Indicates the place of hand-over of the goods " + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Balance of greenhouse gas emissions along the entire life cycle of a product in a defined application and in relation to a defined unit of use" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#01-AHE716#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ProductCarbonFootprint A2", + "value": [ + { + "value": "GHG Protocol", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG854#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCalculationMethod", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Standard, method for determining the greenhouse gas emissions of a product" + } + ] + }, + { + "value": "0.553", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG855#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCO2eq", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Sum of all greenhouse gas emissions of a product according to the quantification requirements of the standard" + } + ] + }, + { + "value": "piece", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG856#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFReferenceValueForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity unit of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "1", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG857#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFQuantityOfMeasureForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "A2 - cradle-to-gate transport to factory", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG858#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFLiveCyclePhase", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "OneToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Life cycle stages of the product according to the quantification requirements of the standard to which the PCF carbon footprint statement refers" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABI497#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFGoodsAddressHandover", + "value": [ + { + "value": "TestStr", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH956#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Street", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Street indication of the place of transfer of goods" + } + ] + }, + { + "value": "6", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH957#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "HouseNumber", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Number for identification or differentiation of individual houses of a street" + } + ] + }, + { + "value": "12345", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH958#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ZipCode", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Zip code of the goods transfer address" + } + ] + }, + { + "value": "TestTown", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH959#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "CityTown", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Indication of the city or town of the transfer of goods" + } + ] + }, + { + "value": "Germany", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-AAO259#005" + } + ], + "type": "ExternalReference" + }, + "idShort": "Country", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Country where the product is transmitted" + } + ] + }, + { + "value": "52.42771449186328", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH960#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Latitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Latitude (B), also called geodetic latitude or latitude (Latin latitudo, English latitude, international abbreviation Lat. or LAT), is the northerly or southerly distance of a point on the earth's surface from the equator, given in angular measure in the unit of measurement degrees" + } + ] + }, + { + "value": "9.613097399392698", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH961#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Longitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Geographic longitude, also called longitude (Latin longitudo, English longitude, international abbreviation long or LON), describes one of the two coordinates of a location on the earth's surface, namely its position east or west of a defined (arbitrarily determined) north-south line, the prime meridian" + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Indicates the place of hand-over of the goods " + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Balance of greenhouse gas emissions along the entire life cycle of a product in a defined application and in relation to a defined unit of use" + } + ] + } + ], + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#01-AHE712#001" + } + ], + "type": "ExternalReference" + } + }, + "carbonFootprint-UrlId": { + "idShort": "CarbonFootprint", + "id": "https://i40.xitaso.com/submodel/testCarbonFootprint_01", + "dataSpecification": [], + "embeddedDataSpecifications": [], + "modelType": "Submodel", + "kind": "Instance", + "submodelElements": [ + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#01-AHE716#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ProductCarbonFootprint A4", + "value": [ + { + "value": "GHG Protocol", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG854#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCalculationMethod", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Standard, method for determining the greenhouse gas emissions of a product" + } + ] + }, + { + "value": "0.123", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG855#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFCO2eq", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Sum of all greenhouse gas emissions of a product according to the quantification requirements of the standard" + } + ] + }, + { + "value": "piece", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG856#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFReferenceValueForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity unit of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "1", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG857#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFQuantityOfMeasureForCalculation", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Quantity of the product to which the PCF information on the CO2 footprint refers" + } + ] + }, + { + "value": "A4 - transport to final destination", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABG858#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFLiveCyclePhase", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "OneToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Life cycle stages of the product according to the quantification requirements of the standard to which the PCF carbon footprint statement refers" + } + ] + }, + { + "ordered": false, + "allowDuplicates": false, + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABI497#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "PCFGoodsAddressHandover", + "value": [ + { + "value": "TestStr", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH956#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Street", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Street indication of the place of transfer of goods" + } + ] + }, + { + "value": "35", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH957#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "HouseNumber", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Number for identification or differentiation of individual houses of a street" + } + ] + }, + { + "value": "12345", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH958#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "ZipCode", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Zip code of the goods transfer address" + } + ] + }, + { + "value": "TestTown", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH959#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "CityTown", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Indication of the city or town of the transfer of goods" + } + ] + }, + { + "value": "Germany", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-AAO259#005" + } + ], + "type": "ExternalReference" + }, + "idShort": "Country", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Country where the product is transmitted" + } + ] + }, + { + "value": "48.389832", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH960#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Latitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Latitude (B), also called geodetic latitude or latitude (Latin latitudo, English latitude, international abbreviation Lat. or LAT), is the northerly or southerly distance of a point on the earth's surface from the equator, given in angular measure in the unit of measurement degrees" + } + ] + }, + { + "value": "10.887690", + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "0173-1#02-ABH961#001" + } + ], + "type": "ExternalReference" + }, + "idShort": "Longitude", + "category": "PARAMETER", + "valueType": "xs:string", + "kind": "Instance", + "modelType": "Property", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToOne" + } + ], + "description": [ + { + "language": "en", + "text": "Geographic longitude, also called longitude (Latin longitudo, English longitude, international abbreviation long or LON), describes one of the two coordinates of a location on the earth's surface, namely its position east or west of a defined (arbitrarily determined) north-south line, the prime meridian" + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "One" + } + ], + "description": [ + { + "language": "en", + "text": "Indicates the place of hand-over of the goods " + } + ] + } + ], + "kind": "Instance", + "modelType": "SubmodelElementCollection", + "qualifiers": [ + { + "semanticId": { + "type": "ExternalReference", + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/SubmodelTemplates/Cardinality/1/0" + } + ] + }, + "kind": "TemplateQualifier", + "type": "SMT/Cardinality", + "valueType": "xs:string", + "value": "ZeroToMany" + } + ], + "description": [ + { + "language": "en", + "text": "Balance of greenhouse gas emissions along the entire life cycle of a product in a defined application and in relation to a defined unit of use" + } + ] + } + ], + "semanticId": { + "keys": [ + { + "type": "GlobalReference", + "value": "https://admin-shell.io/idta/CarbonFootprint/CarbonFootprint/0/9" + } + ], + "type": "ExternalReference" + } + } +} \ No newline at end of file