forked from eclipse-tractusx/item-relationship-service
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json
177 lines (177 loc) · 6.01 KB
/
CX_Testdata_529_compatibility_SingleLevelBomAsPlanned.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
{
"policies": {
"traceability-core": {
"@context": {
"odrl": "http://www.w3.org/ns/odrl/2/",
"cx-policy": "https://w3id.org/catenax/policy/"
},
"@type": "PolicyDefinitionRequestDto",
"@id": "traceability-core",
"policy": {
"@type": "odrl:Set",
"odrl:permission": [
{
"odrl:action": "use",
"odrl:constraint": {
"odrl:and": [
{
"odrl:leftOperand": "https://w3id.org/catenax/policy/FrameworkAgreement",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "traceability:1.0"
},
{
"odrl:leftOperand": "https://w3id.org/catenax/policy/UsagePurpose",
"odrl:operator": {
"@id": "odrl:eq"
},
"odrl:rightOperand": "cx.core.industrycore:1"
}
]
}
}
]
}
}
},
"https://catenax.io/schema/TestDataContainer/1.0.0": [
{
"catenaXId": "urn:uuid:0bc18367-69c3-428f-925d-6f8a461edefd",
"bpnl": "BPNL00000007QG00",
"urn:samm:io.catenax.single_level_bom_as_planned:3.0.0#SingleLevelBomAsPlanned": [
{
"catenaXId": "urn:uuid:0bc18367-69c3-428f-925d-6f8a461edefd",
"childItems": [
{
"catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1",
"businessPartner": "BPNL00000007QG00",
"validityPeriod": {
"validFrom": "2023-03-21T08:17:29.187+01:00",
"validTo": "2024-07-01T16:10:00.000+01:00"
},
"quantity": {
"value": 20.0,
"unit": "unit:piece"
},
"createdOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z"
},
{
"catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb",
"businessPartner": "BPNL00000007QG00",
"validityPeriod": {
"validFrom": "2023-03-21T08:17:29.187+01:00",
"validTo": "2024-07-01T16:10:00.000+01:00"
},
"quantity": {
"value": 20.0,
"unit": "unit:piece"
},
"createdOn": "2022-02-03T14:48:54.709Z",
"lastModifiedOn": "2022-02-03T14:48:54.709Z"
}
]
}
]
},
{
"catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1",
"bpnl": "BPNL00000007QG00",
"urn:samm:io.catenax.single_level_bom_as_planned:3.1.0#SingleLevelBomAsPlanned": [
{
"catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1",
"childItems": [],
"futureAddedField": "test"
}
],
"urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned": [
{
"catenaXId": "urn:uuid:db60f953-8894-4568-ab74-746ce00e78a1",
"partTypeInformation": {
"classification": "product",
"manufacturerPartId": "123-4.567-8901-A",
"nameAtManufacturer": "Test part 1"
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNL00000007QG00",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
]
},
{
"catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb",
"bpnl": "BPNL00000007QG00",
"urn:samm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned": [
{
"catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb",
"childItems" : [ {
"catenaXId" : "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88",
"businessPartner" : "BPNL00000007QG00",
"validityPeriod" : {
"validFrom" : "2023-03-21T08:17:29.187+01:00",
"validTo" : "2024-07-01T16:10:00.000+01:00"
},
"quantity" : {
"quantityNumber" : 2.5,
"measurementUnit" : "unit:litre"
},
"createdOn" : "2022-02-03T14:48:54.709Z",
"lastModifiedOn" : "2022-02-03T14:48:54.709Z"
} ]
}
],
"urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned": [
{
"catenaXId": "urn:uuid:4e8dd2c1-0d21-4794-af92-03a12f85a2eb",
"partTypeInformation": {
"classification": "product",
"manufacturerPartId": "345-6.789-0123-A",
"nameAtManufacturer": "Test part 2"
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNL00000007QG00",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
]
},
{
"catenaXId": "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88",
"bpnl": "BPNL00000007QG00",
"urn:samm:io.catenax.single_level_bom_as_planned:2.0.0#SingleLevelBomAsPlanned": [
{
"catenaXId": "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88",
"childItems" : [ ]
}
],
"urn:samm:io.catenax.part_as_planned:2.0.0#PartAsPlanned": [
{
"catenaXId": "urn:uuid:7eb80b65-2e43-438c-8c2a-32b814d2cb88",
"partTypeInformation": {
"classification": "product",
"manufacturerPartId": "234-5.678-9012-A",
"nameAtManufacturer": "Test part 3"
},
"partSitesInformationAsPlanned": [
{
"functionValidUntil": "2023-12-11T06:14:55.183Z",
"catenaXsiteId": "BPNL00000007QG00",
"function": "production",
"functionValidFrom": "2023-12-11T06:14:55.181Z"
}
]
}
]
}
]
}