Skip to content

Commit

Permalink
Merge pull request #158 from catenax-ng/release/v2.0.0-physical-dimen…
Browse files Browse the repository at this point in the history
…sions-aspect

[5º] - Release/v2.0.0 physical dimensions aspect: Prepare and register physical dimensions aspect to the provider setup
  • Loading branch information
saudkhan116 authored Dec 22, 2023
2 parents cd820e7 + 9cbf474 commit 47da3bf
Showing 1 changed file with 49 additions and 2 deletions.
51 changes: 49 additions & 2 deletions deployment/infrastructure/testing/testdata/testdata-payload.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,19 @@
"odrl:or": [
{
"@type": "Constraint",
"odrl:leftOperand": "PURPOSE",
"odrl:leftOperand": "Membership",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "DPP"
"odrl:rightOperand": "active"
},
{
"@type": "Constraint",
"odrl:leftOperand": "FrameworkAgreement.sustainability",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "active"
}
]
}
Expand Down Expand Up @@ -2306,6 +2314,45 @@
"semanticId": "urn:bamm:io.catenax.transmission.transmission_pass:1.0.0#TransmissionPass"
}
]
},
{
"catenaXId": "urn:uuid:b2c4c99d-f187-45ad-905b-e2c4e1ededba",
"specificAssetIds": [
{
"name": "manufacturerPartId",
"value": "XYZ78901",
"allowedBpns": ["BPNL00000003CRHL", "BPNL00000000CBA5"]
},
{
"name": "partInstanceId",
"value": "ABC123",
"allowedBpns": ["BPNL00000003CRHL", "BPNL00000000CBA5"]
}
],
"type": "physicalDimensions",
"description": [
{
"language": "en",
"text": "Physical Dimensions shell descriptor"
}
],
"submodels": [
{
"name": "physicalDeminsions",
"data": {
"partInstanceId": "ABC123",
"physicalDimensionsProperty": {
"width": 1000.0,
"length": 20000.1,
"weight": 100.7,
"diameter": 0.03,
"height": 0.1
}
},
"description": "Physical Dimensions Submodel",
"semanticId": "urn:bamm:io.catenax.shared.physical_dimension:2.0.0#PhysicalDimensions"
}
]
}
]
}

0 comments on commit 47da3bf

Please sign in to comment.