Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ 13° ] - Release/v2.1.0/fix irs: add serial part aspect #196

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
366 changes: 366 additions & 0 deletions deployment/local/testing/testdata/testdata-payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,23 @@
"description": "single level Bom As Built Submodel",
"semanticId": "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt"
},
{
"name": "SerialPart",
"data": {
"partTypeInformation": {
"classification": "product",
"manufacturerPartId": "XYZ78901",
"nameAtManufacturer": "BAT-XYZ789"
},
"validityPeriod": {
"validFrom": "2026-10-06T14:50:23.230+01:00",
"validTo": "2026-08-06T14:50:23.230+01:00"
},
"catenaXId": "urn:uuid:efcb5f8d-f31c-4b1f-b090-9c878054554d"
},
"description": "Battery SerialPart Submodel",
"semanticId": "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart"
},
{
"name": "digitalProductPass",
"data": {
Expand Down Expand Up @@ -1605,6 +1622,23 @@
"description": "Single level Bom As Built Submodel",
"semanticId": "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt"
},
{
"name": "SerialPart",
"data": {
"partTypeInformation": {
"classification": "component",
"manufacturerPartId": "XYZ78901",
"nameAtManufacturer": "EVMODULE-TRJ712"
},
"validityPeriod": {
"validFrom": "2026-10-06T14:50:23.230+01:00",
"validTo": "2026-08-06T14:50:23.230+01:00"
},
"catenaXId": "urn:uuid:d8ec6acc-1ad7-47b4-bc7e-612122d9d552"
},
"description": "Battery Module SerialPart Submodel",
"semanticId": "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart"
},
{
"name": "SingleLevelUsageAsBuilt",
"data": {
Expand Down Expand Up @@ -1778,6 +1812,23 @@
"description": "Single level Bom As Built Submodel",
"semanticId": "urn:bamm:io.catenax.single_level_bom_as_built:1.0.0#SingleLevelBomAsBuilt"
},
{
"name": "SerialPart",
"data": {
"partTypeInformation": {
"classification": "component",
"manufacturerPartId": "XYZ78901",
"nameAtManufacturer": "CTA-13123"
},
"validityPeriod": {
"validFrom": "2026-10-06T14:50:23.230+01:00",
"validTo": "2026-08-06T14:50:23.230+01:00"
},
"catenaXId": "urn:uuid:63b95496-86ed-4762-b248-491d5c1242e1"
},
"description": "Battery Cell SerialPart Submodel",
"semanticId": "urn:bamm:io.catenax.serial_part:1.0.1#SerialPart"
},
{
"name": "SingleLevelUsageAsBuilt",
"data": {
Expand Down Expand Up @@ -2353,6 +2404,321 @@
"semanticId": "urn:bamm:io.catenax.shared.physical_dimension:2.0.0#PhysicalDimensions"
}
]
},
{
"catenaXId": "urn:uuid:efcb5f8d-f31c-4b1f-b090-9c8780545544",
"specificAssetIds": [
{
"name": "manufacturerPartId",
"value": "XYZ78901",
"allowedBpns": ["BPNL00000003CRHL", "BPNL00000000CBA5"]
},
{
"name": "partInstanceId",
"value": "SN12345678",
"allowedBpns": ["BPNL00000003CRHL", "BPNL00000000CBA5"]
}
],
"type": "Transmission",
"description": [
{
"language": "en",
"text": "Manual Transmission Digital Twin"
}
],
"submodels": [
{
"name": "digitalProductPass",
"data": {
"typology": {
"shortName": "8HP60",
"class": {
"definition": "Manual transmission (motor vehicle)",
"code": "44-09-02-02"
},
"longName": "Product Description long text"
},
"metadata": {
"predecessor": "null",
"issueDate": "2000-01-01",
"version": "1.0.0",
"economicOperator": {
"legitimization": "DE123456789",
"identification": "BPNL1234567890ZZ"
},
"status": "draft",
"expirationDate": "2000-01-01"
},
"characteristics": {
"physicalDimension": {
"grossWeight": {
"value": 20.5,
"unit": "unit:kilogram"
},
"weightOrVolume": {
"left": {
"value": 20.5,
"unit": "unit:cubicMetre"
}
},
"diameter": {
"value": 20.5,
"unit": "unit:millimetre"
},
"grossVolume": {
"value": 20.5,
"unit": "unit:cubicMetre"
},
"width": {
"value": 20.5,
"unit": "unit:millimetre"
},
"length": {
"value": 20.5,
"unit": "unit:millimetre"
},
"height": {
"value": 20.5,
"unit": "unit:millimetre"
}
},
"lifespan": [
{
"value": 36,
"unit": "unit:day",
"key": "guaranteed lifetime"
}
],
"physicalState": "solid"
},
"commercial": {
"placedOnMarket": "2000-01-01"
},
"identification": {
"localIdentifier": {
"value": "SN12345678",
"key": "PartInstanceId"
},
"additionalCode": [
{
"value": "8703 24 10 00",
"key": "TARIC"
}
],
"dataCarrier": {
"carrierType": "QR",
"carrierLayout": "upper-left side"
}
},
"sources": [
{
"header": "Sustainability Document Material XY",
"category": "Product Specifications",
"type": "URL",
"content": "www.alink.pdf"
}
],
"handling": {
"spareParts": {
"left": {
"producer": [
{
"id": "BPNL1234567890ZZ"
}
],
"part": [
{
"name": "Aluminum Housing",
"gtin": "12345678"
}
]
}
},
"substanceOfConcern": {
"left": [
{
"name": {
"name": "phenolphthalein",
"type": "IUPAC"
},
"location": "Housing",
"unit": "unit:partPerMillion",
"concentration": {
"left": [
{
"max": 2.6,
"min": 2.1
}
]
},
"exemption": "shall not apply to product x containing not more than 1,5 ml of liquid",
"id": [
{
"type": "CAS",
"id": "201-004-7"
}
]
}
]
}
},
"additionalData": [
{
"description": "This is the machine parameters that are produced when the machine is used",
"label": "Specific Manufacturer Machine Parameters",
"type": {
"typeUnit": null,
"dataType": "object"
},
"children": [
{
"description": "The usage of the eletricity in the machine",
"label": "Eletricity Usage",
"type": {
"typeUnit": "unit:volts",
"dataType": "integer"
},
"data": "25"
},
{
"description": "The name of the machine that produced the product",
"label": "Machine Name",
"type": {
"typeUnit": null,
"dataType": "string"
},
"data": "Laser Machine MX-421W"
},
{
"description": "The list of products the machine can produce",
"label": "Product Names",
"type": {
"typeUnit": null,
"dataType": "array"
},
"data": ["Tranmissions", "Batteries", "Seats", "Doors"]
}
]
},
{
"description": "This are the properties of interest",
"label": "Properties of Interest",
"type": {
"typeUnit": null,
"dataType": "object"
},
"children": [
{
"description": "This are the main properties of interest",
"label": "Main Properties",
"type": {
"typeUnit": null,
"dataType": "object"
},
"children": [
{
"description": "This is the Normal temperature of production",
"label": "Normal Temperature",
"type": {
"typeUnit": "unit:celcius",
"dataType": "float"
},
"data": 62.7
},
{
"description": "This is the minimmum temperature of production",
"label": "Minimum Temperature",
"type": {
"typeUnit": "unit:celcius",
"dataType": "float"
},
"data": -80.68
},
{
"description": "This is the maximum temperature of production",
"label": "Maximum Temperature",
"type": {
"typeUnit": "unit:celcius",
"dataType": "float"
},
"data": 800.85
}
]
}
]
}
],
"sustainability": {
"PEF": {
"carbon": [
{
"lifecycle": "main product production",
"rulebook": "https://www.alink.pdf/",
"unit": "kg CO2 eq",
"type": "Climate Change Total",
"value": 12.678
}
],
"carbon2": {
"lifecycle": "main product production",
"rulebook": "https://www.alink.pdf/",
"unit": "kg CO2 eq",
"type": "Climate Change Total",
"value": 12.678
},
"environmental": [
{
"lifecycle": "main product production",
"rulebook": "https://www.alink.pdf/",
"unit": "kg CO2 eq",
"type": "Climate Change Total",
"value": 72.678
}
]
},
"state": "first life",
"material": {
"left": [
{
"name": {
"name": "phenolphthalein",
"type": "IUPAC"
},
"unit": "unit:partPerMillion",
"recycled": false,
"id": [
{
"type": "CAS",
"id": "201-004-7"
}
],
"value": 5,
"renewable": true
}
]
},
"critical": {
"left": ["eOMtThyhVNLWUZNRcBaQKxI"]
}
},
"operation": {
"importer": {
"left": {
"eori": "GB123456789000",
"id": "BPNL1234567890ZZ"
}
},
"manufacturer": {
"facility": "BPNS1234567890ZZ",
"manufacturingDate": "2000-01-31",
"manufacturer": "BPNL1234567890ZZ"
}
}
},
"description": "Digital Product Pass v2.0.0 Submodel",
"semanticId": "urn:samm:io.catenax.generic.digital_product_passport:2.0.0#DigitalProductPassport"
}
]
}
]
}
Loading