Skip to content

Commit 0414b95

Browse files
sdagostisdagosti
authored andcommitted
Added sample data for testing
1 parent 21a2ca7 commit 0414b95

16 files changed

+1075
-0
lines changed
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
{
2+
"id": "8cd86e96-f786-4742-9e0a-36b241f92db4",
3+
"agreement": [],
4+
"channel": [],
5+
"note": [],
6+
"orderTotalPrice": [
7+
{
8+
"priceType": "recurring",
9+
"recurringChargePeriod": "1 month",
10+
"price": {
11+
"taxRate": 0.21,
12+
"dutyFreeAmount": {
13+
"unit": "EUR",
14+
"value": 10.0
15+
},
16+
"taxIncludedAmount": {
17+
"unit": "EUR",
18+
"value": 12.1
19+
}
20+
},
21+
"priceAlteration": []
22+
},
23+
{
24+
"priceType": "one-time",
25+
"price": {
26+
"taxRate": 0.21,
27+
"dutyFreeAmount": {
28+
"unit": "EUR",
29+
"value": 100.0
30+
},
31+
"taxIncludedAmount": {
32+
"unit": "EUR",
33+
"value": 121.0
34+
}
35+
},
36+
"priceAlteration": []
37+
}
38+
],
39+
"payment": [],
40+
"productOfferingQualification": [],
41+
"productOrderItem": [
42+
{
43+
"id": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2",
44+
"quantity": 1,
45+
"action": "add",
46+
"itemPrice": [
47+
{
48+
"description": "",
49+
"name": "Initial",
50+
"priceType": "one time",
51+
"price": {
52+
"taxRate": 0.21,
53+
"dutyFreeAmount": {
54+
"unit": "EUR",
55+
"value": 100.0
56+
},
57+
"taxIncludedAmount": {
58+
"unit": "EUR",
59+
"value": 121.0
60+
}
61+
},
62+
"priceAlteration": [],
63+
"productOfferingPrice": {
64+
"id": "urn:ngsi-ld:product-offering-price:872a326b-f2ed-4190-8215-54b9b7edba60",
65+
"name": "Initial"
66+
}
67+
},
68+
{
69+
"description": "",
70+
"name": "rec 2",
71+
"priceType": "recurring",
72+
"recurringChargePeriod": "1 month",
73+
"price": {
74+
"taxRate": 0.21,
75+
"dutyFreeAmount": {
76+
"unit": "EUR",
77+
"value": 10.0
78+
},
79+
"taxIncludedAmount": {
80+
"unit": "EUR",
81+
"value": 12.1
82+
}
83+
},
84+
"priceAlteration": [],
85+
"productOfferingPrice": {
86+
"id": "urn:ngsi-ld:product-offering-price:f3ee6946-0a80-4153-822d-3c4382ab41d9",
87+
"name": "rec 2"
88+
}
89+
}
90+
],
91+
"itemTerm": [],
92+
"itemTotalPrice": [
93+
{
94+
"priceAlteration": [],
95+
"productOfferingPrice": {
96+
"id": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
97+
"href": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
98+
"name": "Plan with multiple comps"
99+
}
100+
}
101+
],
102+
"payment": [],
103+
"product": {
104+
"agreement": [],
105+
"place": [],
106+
"product": [],
107+
"productCharacteristic": [
108+
{
109+
"name": "Cores",
110+
"valueType": "number",
111+
"value": "10"
112+
}
113+
],
114+
"productOrderItem": [],
115+
"productPrice": [],
116+
"productRelationship": [],
117+
"productTerm": [],
118+
"realizingResource": [],
119+
"realizingService": [],
120+
"relatedParty": []
121+
},
122+
"productOffering": {
123+
"id": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2",
124+
"href": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2"
125+
},
126+
"productOrderItem": [],
127+
"productOrderItemRelationship": [],
128+
"qualification": []
129+
}
130+
],
131+
"quote": [],
132+
"relatedParty": [
133+
{
134+
"id": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
135+
"href": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
136+
"role": "Customer",
137+
"@referredType": "organization"
138+
},
139+
{
140+
"id": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
141+
"href": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
142+
"role": "Seller",
143+
"@referredType": "organization"
144+
}
145+
]
146+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"id": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
3+
"href": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
4+
"description": "this is a plan",
5+
"isBundle": true,
6+
"lastUpdate": "2025-02-13T11:17:26.310249526Z",
7+
"lifecycleStatus": "Active",
8+
"name": "Plan with multiple comps",
9+
"bundledPopRelationship": [
10+
{
11+
"id": "urn:ngsi-ld:product-offering-price:872a326b-f2ed-4190-8215-54b9b7edba60",
12+
"href": "urn:ngsi-ld:product-offering-price:872a326b-f2ed-4190-8215-54b9b7edba60",
13+
"name": "Initial"
14+
},
15+
{
16+
"id": "urn:ngsi-ld:product-offering-price:de40291d-ce5f-4e1c-827d-eee1927a07c0",
17+
"href": "urn:ngsi-ld:product-offering-price:de40291d-ce5f-4e1c-827d-eee1927a07c0",
18+
"name": "rec1"
19+
},
20+
{
21+
"id": "urn:ngsi-ld:product-offering-price:f3ee6946-0a80-4153-822d-3c4382ab41d9",
22+
"href": "urn:ngsi-ld:product-offering-price:f3ee6946-0a80-4153-822d-3c4382ab41d9",
23+
"name": "rec 2"
24+
}
25+
],
26+
"validFor": {
27+
"startDateTime": "2025-01-31T13:22:55.890Z"
28+
}
29+
}
30+
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
[
2+
{
3+
"id": "urn:ngsi-ld:product-offering-price:872a326b-f2ed-4190-8215-54b9b7edba60",
4+
"href": "urn:ngsi-ld:product-offering-price:872a326b-f2ed-4190-8215-54b9b7edba60",
5+
"description": "",
6+
"lastUpdate": "2025-02-13T11:09:28.205744513Z",
7+
"lifecycleStatus": "Active",
8+
"name": "Initial",
9+
"priceType": "one time",
10+
"price": {
11+
"unit": "EUR",
12+
"value": 100.0
13+
},
14+
"validFor": {
15+
"startDateTime": "2025-01-31T13:22:55.517Z"
16+
}
17+
},
18+
19+
{
20+
"id": "urn:ngsi-ld:product-offering-price:de40291d-ce5f-4e1c-827d-eee1927a07c0",
21+
"href": "urn:ngsi-ld:product-offering-price:de40291d-ce5f-4e1c-827d-eee1927a07c0",
22+
"description": "",
23+
"lastUpdate": "2025-02-13T11:11:20.570300940Z",
24+
"lifecycleStatus": "Active",
25+
"name": "rec1",
26+
"priceType": "recurring",
27+
"recurringChargePeriodLength": 1,
28+
"recurringChargePeriodType": "month",
29+
"price": {
30+
"unit": "EUR",
31+
"value": 5.0
32+
},
33+
"prodSpecCharValueUse": [
34+
{
35+
"id": "urn:ngsi-ld:characteristic:7e255099-897a-4713-9d8e-e8ef40d1c5fc",
36+
"name": "Cores",
37+
"productSpecCharacteristicValue": [
38+
{
39+
"unitOfMeasure": "cores",
40+
"value": 5
41+
}
42+
]
43+
}
44+
],
45+
"validFor": {
46+
"startDateTime": "2025-01-31T13:22:55.654Z"
47+
}
48+
},
49+
50+
{
51+
"id": "urn:ngsi-ld:product-offering-price:f3ee6946-0a80-4153-822d-3c4382ab41d9",
52+
"href": "urn:ngsi-ld:product-offering-price:f3ee6946-0a80-4153-822d-3c4382ab41d9",
53+
"description": "",
54+
"lastUpdate": "2025-02-13T11:16:02.297418663Z",
55+
"lifecycleStatus": "Active",
56+
"name": "rec 2",
57+
"priceType": "recurring",
58+
"recurringChargePeriodLength": 1,
59+
"recurringChargePeriodType": "month",
60+
"price": {
61+
"unit": "EUR",
62+
"value": 10.0
63+
},
64+
"prodSpecCharValueUse": [
65+
{
66+
"id": "urn:ngsi-ld:characteristic:7e255099-897a-4713-9d8e-e8ef40d1c5fc",
67+
"name": "Cores",
68+
"productSpecCharacteristicValue": [
69+
{
70+
"unitOfMeasure": "cores",
71+
"value": 10
72+
}
73+
]
74+
}
75+
],
76+
"validFor": {
77+
"startDateTime": "2025-01-31T13:22:55.768Z"
78+
}
79+
}
80+
]
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"id": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2",
3+
"href": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2",
4+
"description": "asdad",
5+
"isBundle": false,
6+
"lastUpdate": "2025-01-31T13:22:56.086294589Z",
7+
"lifecycleStatus": "Launched",
8+
"name": "Price test",
9+
"version": "0.1",
10+
"bundledProductOffering": [],
11+
"category": [],
12+
"place": [],
13+
"productOfferingPrice": [
14+
{
15+
"id": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
16+
"href": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
17+
"name": "Plan with multiple comps"
18+
}
19+
],
20+
"productOfferingTerm": [
21+
{
22+
"description": "",
23+
"name": "",
24+
"validFor": {}
25+
}
26+
],
27+
"productSpecification": {
28+
"id": "urn:ngsi-ld:product-specification:2056d29b-22af-4171-887c-d422b4ab1d53",
29+
"href": "urn:ngsi-ld:product-specification:2056d29b-22af-4171-887c-d422b4ab1d53",
30+
"name": "product cool",
31+
"version": "0.1"
32+
},
33+
"validFor": {
34+
"startDateTime": "2025-01-31T13:22:55.884Z"
35+
}
36+
}
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"id": "8cd86e96-f786-4742-9e0a-36b241f92db4",
3+
"productOrderItem": [
4+
{
5+
"id": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2",
6+
"action": "add",
7+
"quantity": "1",
8+
"productOffering": {
9+
"id": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2",
10+
"href": "urn:ngsi-ld:product-offering:98778b26-6df7-4a79-9b52-9b20de843fa2"
11+
},
12+
"itemTotalPrice": [
13+
{
14+
"productOfferingPrice": {
15+
"id": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
16+
"href": "urn:ngsi-ld:product-offering-price:4eef2f83-9b61-486c-ae7f-ba0e68bbcc4d",
17+
"name": "Plan with multiple comps"
18+
}
19+
}
20+
],
21+
"product": {
22+
"productCharacteristic": [
23+
{
24+
"name": "Cores",
25+
"value": "10",
26+
"valueType": "number"
27+
}
28+
]
29+
}
30+
}
31+
],
32+
"relatedParty": [
33+
{
34+
"id": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
35+
"role": "Customer",
36+
"href": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
37+
"@referredType": "organization"
38+
},
39+
{
40+
"id": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
41+
"role": "Seller",
42+
"href": "urn:ngsi-ld:organization:38063c78-fc9f-42ca-a39e-518107a2d403",
43+
"@referredType": "organization"
44+
}
45+
]
46+
}

0 commit comments

Comments
 (0)