forked from eclipse-tractusx/digital-product-pass
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from catenax-ng/release/v2.1.0-general-cards-fix
[ 5° ] - Release/v2.1.0 general cards fix
- Loading branch information
Showing
12 changed files
with
486 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,288 @@ | ||
{ | ||
"metadata": { | ||
"contract": { | ||
"@id": "9b3c0977-6b14-4201-bd76-55f681a92872", | ||
"@type": "dcat:Dataset", | ||
"odrl:hasPolicy": { | ||
"@id": "3:365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918:dc616f20-2781-450a-837a-290d861c8e0a", | ||
"@type": "odrl:Set", | ||
"odrl:permission": [], | ||
"odrl:prohibition": [], | ||
"odrl:obligation": [], | ||
"odrl:target": "365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918" | ||
}, | ||
"dcat:distribution": [ | ||
{ | ||
"@type": "dcat:Distribution", | ||
"dct:format": { | ||
"@id": "HttpProxy" | ||
}, | ||
"dcat:accessService": "1795254a-e354-46c7-9d88-04608b05ca9f" | ||
}, | ||
{ | ||
"@type": "dcat:Distribution", | ||
"dct:format": { | ||
"@id": "AmazonS3" | ||
}, | ||
"dcat:accessService": "1795254a-e354-46c7-9d88-04608b05ca9f" | ||
} | ||
], | ||
"edc:description": "Battery Passport test data", | ||
"edc:id": "365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918" | ||
}, | ||
"negotiation": { | ||
"init": { | ||
"request": { | ||
"@context": { | ||
"odrl": "http://www.w3.org/ns/odrl/2/" | ||
}, | ||
"@type": "NegotiationInitiateRequestDto", | ||
"connectorAddress": "https://materialpass.dev.demo.catena-x.net/BPNL000000000000/api/v1/dsp", | ||
"protocol": "dataspace-protocol-http", | ||
"connectorId": "BPNL00000000CBA5", | ||
"offer": { | ||
"offerId": "3:365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918:dc616f20-2781-450a-837a-290d861c8e0a", | ||
"assetId": "365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918", | ||
"policy": { | ||
"@type": "odrl:Set", | ||
"odrl:permission": [], | ||
"odrl:prohibition": [], | ||
"odrl:obligation": [], | ||
"odrl:target": "365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918" | ||
} | ||
} | ||
}, | ||
"response": { | ||
"@id": "b8a41089-1eac-462a-b8e8-e40f724b302f", | ||
"@type": "edc:IdResponseDto", | ||
"edc:createdAt": 1688393629505, | ||
"@context": { | ||
"dct": "https://purl.org/dc/terms/", | ||
"tx": "https://w3id.org/tractusx/v0.0.1/ns/", | ||
"edc": "https://w3id.org/edc/v0.0.1/ns/", | ||
"dcat": "https://www.w3.org/ns/dcat/", | ||
"odrl": "http://www.w3.org/ns/odrl/2/", | ||
"dspace": "https://w3id.org/dspace/v0.8/" | ||
} | ||
} | ||
}, | ||
"get": { | ||
"response": { | ||
"@id": "b8a41089-1eac-462a-b8e8-e40f724b302f", | ||
"@type": "edc:ContractNegotiationDto", | ||
"edc:type": "CONSUMER", | ||
"edc:protocol": "dataspace-protocol-http", | ||
"edc:state": "FINALIZED", | ||
"edc:counterPartyAddress": "https://materialpass.dev.demo.catena-x.net/BPNL000000000000/api/v1/dsp", | ||
"edc:callbackAddresses": [], | ||
"edc:contractAgreementId": "3:365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918:102bae7a-22de-44b2-9ed5-ca5f62023390", | ||
"@context": { | ||
"dct": "https://purl.org/dc/terms/", | ||
"tx": "https://w3id.org/tractusx/v0.0.1/ns/", | ||
"edc": "https://w3id.org/edc/v0.0.1/ns/", | ||
"dcat": "https://www.w3.org/ns/dcat/", | ||
"odrl": "http://www.w3.org/ns/odrl/2/", | ||
"dspace": "https://w3id.org/dspace/v0.8/" | ||
} | ||
} | ||
} | ||
}, | ||
"transfer": { | ||
"init": { | ||
"request": { | ||
"@context": { | ||
"odrl": "http://www.w3.org/ns/odrl/2/" | ||
}, | ||
"assetId": "365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918", | ||
"connectorAddress": "https://materialpass.dev.demo.catena-x.net/BPNL000000000000/api/v1/dsp", | ||
"contractId": "3:365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918:102bae7a-22de-44b2-9ed5-ca5f62023390", | ||
"dataDestination": { | ||
"properties": { | ||
"type": "HttpProxy" | ||
} | ||
}, | ||
"managedResources": false, | ||
"privateProperties": { | ||
"receiverHttpEndpoint": "https://materialpass.dev.demo.catena-x.net/endpoint/bb8d235e-96c1-4fa3-a9ea-2ec71255ed18" | ||
}, | ||
"protocol": "dataspace-protocol-http", | ||
"transferType": { | ||
"contentType": "application/octet-stream", | ||
"isFinite": true | ||
} | ||
}, | ||
"response": { | ||
"@id": "b9ab18f2-b624-4e2c-a922-c2e727467bb2", | ||
"@type": "edc:IdResponseDto", | ||
"edc:createdAt": 1688393631831, | ||
"@context": { | ||
"dct": "https://purl.org/dc/terms/", | ||
"tx": "https://w3id.org/tractusx/v0.0.1/ns/", | ||
"edc": "https://w3id.org/edc/v0.0.1/ns/", | ||
"dcat": "https://www.w3.org/ns/dcat/", | ||
"odrl": "http://www.w3.org/ns/odrl/2/", | ||
"dspace": "https://w3id.org/dspace/v0.8/" | ||
} | ||
} | ||
}, | ||
"get": { | ||
"response": { | ||
"@id": "b9ab18f2-b624-4e2c-a922-c2e727467bb2", | ||
"@type": "edc:TransferProcessDto", | ||
"edc:state": "COMPLETED", | ||
"edc:stateTimestamp": 1688393633142, | ||
"edc:type": "CONSUMER", | ||
"edc:callbackAddresses": [], | ||
"edc:dataDestination": { | ||
"edc:type": "HttpProxy" | ||
}, | ||
"edc:dataRequest": { | ||
"@id": "b9ab18f2-b624-4e2c-a922-c2e727467bb2", | ||
"@type": "edc:DataRequestDto", | ||
"edc:assetId": "365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918", | ||
"edc:contractId": "3:365e6fbe-bb34-11ec-8422-0242ac120002-61125dc3-5e6f-4f4b-838d-447432b97918:102bae7a-22de-44b2-9ed5-ca5f62023390" | ||
}, | ||
"edc:receiverHttpEndpoint": "https://materialpass.dev.demo.catena-x.net/endpoint/bb8d235e-96c1-4fa3-a9ea-2ec71255ed18", | ||
"@context": { | ||
"dct": "https://purl.org/dc/terms/", | ||
"tx": "https://w3id.org/tractusx/v0.0.1/ns/", | ||
"edc": "https://w3id.org/edc/v0.0.1/ns/", | ||
"dcat": "https://www.w3.org/ns/dcat/", | ||
"odrl": "http://www.w3.org/ns/odrl/2/", | ||
"dspace": "https://w3id.org/dspace/v0.8/" | ||
} | ||
} | ||
} | ||
} | ||
}, | ||
"semanticId": "general", | ||
"aspect": { | ||
"serialization": { | ||
"manufacturingInformation": { | ||
"date": "2023-08-30T10:30:00", | ||
"country": "USA" | ||
}, | ||
"registration": { | ||
"customerPartId": "PRT-67890", | ||
"manufacturerPartId": "HV-SPORT-123" | ||
}, | ||
"quantity": { | ||
"value": 1, | ||
"unit": "unit:piece" | ||
} | ||
}, | ||
"typology": { | ||
"name": "High Voltage Battery for Sports Car", | ||
"description": "High performance battery for electric sports cars", | ||
"class": { | ||
"definition": "High Voltage Battery", | ||
"code": "33-06-01-01" | ||
}, | ||
"nameAtManufacturer": "Performance Battery Pack", | ||
"nameAtCustomer": "High-Performance Energy Source" | ||
}, | ||
"metadata": { | ||
"issueDate": "2023-08-30", | ||
"version": "2.0.0", | ||
"validityDate": "2023-08-30", | ||
"economicOperator": { | ||
"eori": "US987654321000", | ||
"id": "BPNL000000000000" | ||
}, | ||
"status": "Approved" | ||
}, | ||
"characteristics": { | ||
"physicalDimensionsProperty": { | ||
"width": 800, | ||
"length": 1200, | ||
"weight": 300.5, | ||
"height": 150 | ||
}, | ||
"energyCapacity": { | ||
"value": 85, | ||
"unit": "unit:kWh" | ||
}, | ||
"voltage": { | ||
"value": 400, | ||
"unit": "unit:V" | ||
} | ||
}, | ||
"commercial": { | ||
"placedOnMarket": "2023-09-01", | ||
"warranty": 72 | ||
}, | ||
"identification": { | ||
"localIdentifiers": [ | ||
{ | ||
"value": "BAT-XYZ789", | ||
"key": "PartInstanceID" | ||
} | ||
], | ||
"gtin": "12345678901234", | ||
"additionalCode": [ | ||
{ | ||
"name": "TARIC", | ||
"value": "8507 80 00 00" | ||
} | ||
] | ||
}, | ||
"sources": { | ||
"mandatory": { | ||
"safetyInformation": { | ||
"header": "Safety Datasheet for High Voltage Battery", | ||
"category": "Safety", | ||
"type": "link", | ||
"content": "www.example.com/safety_datasheet.pdf" | ||
}, | ||
"environmentalImpact": { | ||
"header": "Environmental Impact Assessment", | ||
"category": "Environment", | ||
"type": "link", | ||
"content": "www.example.com/environmental_impact.pdf" | ||
} | ||
}, | ||
"optional": [ | ||
{ | ||
"name": "userManual", | ||
"document": { | ||
"header": "User Manual for High Voltage Battery", | ||
"category": "User Manual", | ||
"type": "link", | ||
"content": "www.example.com/user_manual.pdf" | ||
} | ||
} | ||
] | ||
}, | ||
"sustainability": { | ||
"state": "first life", | ||
"material": [ | ||
{ | ||
"name": "Lithium-Ion", | ||
"recycled": false, | ||
"renewable": false, | ||
"percentage": 80 | ||
} | ||
], | ||
"critical": [ | ||
"Lithium", | ||
"Cobalt" | ||
], | ||
"carbonFootprint": { | ||
"carbonContentTotal": 10.2, | ||
"crossSectoralStandard": "ISO 14040", | ||
"productOrSectorSpecificRules": [ | ||
{ | ||
"ruleName": "ISO 14067" | ||
} | ||
] | ||
} | ||
}, | ||
"operation": { | ||
"importer": "BPNL000000000000", | ||
"manufacturer": { | ||
"manufacturerId": "BPNL000000000000", | ||
"facilityId": "BPNL000000000123" | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
Oops, something went wrong.