@osdk/generator-converters.ontologyir 2.3.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,3211 @@
1
+ /*
2
+ * Copyright 2025 Palantir Technologies, Inc. All rights reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+
17
+ import { describe, expect, it } from "vitest";
18
+ import { OntologyIrToFullMetadataConverter } from "./OntologyIrToFullMetadataConverter.js";
19
+ describe(OntologyIrToFullMetadataConverter, () => {
20
+ it("should convert ontology IR to full metadata", async () => {
21
+ const result = OntologyIrToFullMetadataConverter.getFullMetadataFromIr({
22
+ "objectTypes": {
23
+ "Dc3DistributionCenterProposal": {
24
+ "objectType": {
25
+ "displayMetadata": {
26
+ "displayName": "[DC3] Distribution Center Proposal",
27
+ "icon": {
28
+ "type": "blueprint",
29
+ "blueprint": {
30
+ "locator": "cube",
31
+ "color": "#2D72D2"
32
+ }
33
+ },
34
+ "pluralDisplayName": "[DC3] Distribution Center Proposals",
35
+ "visibility": "NORMAL"
36
+ },
37
+ "primaryKeys": ["primaryKey_"],
38
+ "propertyTypes": {
39
+ "primaryKey_": {
40
+ "apiName": "primaryKey_",
41
+ "displayMetadata": {
42
+ "displayName": "Primary Key",
43
+ "visibility": "NORMAL"
44
+ },
45
+ "indexedForSearch": true,
46
+ "type": {
47
+ "type": "string",
48
+ "string": {
49
+ "isLongText": false,
50
+ "supportsEfficientLeadingWildcard": false,
51
+ "supportsExactMatching": true
52
+ }
53
+ },
54
+ "typeClasses": [{
55
+ "kind": "render_hint",
56
+ "name": "SELECTABLE"
57
+ }, {
58
+ "kind": "render_hint",
59
+ "name": "SORTABLE"
60
+ }],
61
+ "status": {
62
+ "type": "active",
63
+ "active": {}
64
+ }
65
+ },
66
+ "name": {
67
+ "apiName": "name",
68
+ "displayMetadata": {
69
+ "displayName": "Name",
70
+ "visibility": "NORMAL"
71
+ },
72
+ "indexedForSearch": true,
73
+ "type": {
74
+ "type": "string",
75
+ "string": {
76
+ "isLongText": false,
77
+ "supportsEfficientLeadingWildcard": false,
78
+ "supportsExactMatching": true
79
+ }
80
+ },
81
+ "typeClasses": [{
82
+ "kind": "render_hint",
83
+ "name": "SELECTABLE"
84
+ }, {
85
+ "kind": "render_hint",
86
+ "name": "SORTABLE"
87
+ }],
88
+ "status": {
89
+ "type": "active",
90
+ "active": {}
91
+ }
92
+ },
93
+ "price": {
94
+ "apiName": "price",
95
+ "displayMetadata": {
96
+ "displayName": "Price",
97
+ "description": "The price of the distribution center proposal in USD",
98
+ "visibility": "NORMAL"
99
+ },
100
+ "indexedForSearch": true,
101
+ "type": {
102
+ "type": "float",
103
+ "float": {}
104
+ },
105
+ "typeClasses": [{
106
+ "kind": "render_hint",
107
+ "name": "SELECTABLE"
108
+ }, {
109
+ "kind": "render_hint",
110
+ "name": "SORTABLE"
111
+ }],
112
+ "status": {
113
+ "type": "active",
114
+ "active": {}
115
+ }
116
+ },
117
+ "proposedLocation": {
118
+ "apiName": "proposedLocation",
119
+ "displayMetadata": {
120
+ "displayName": "Proposed Location",
121
+ "visibility": "NORMAL"
122
+ },
123
+ "indexedForSearch": true,
124
+ "type": {
125
+ "type": "geohash",
126
+ "geohash": {}
127
+ },
128
+ "typeClasses": [{
129
+ "kind": "render_hint",
130
+ "name": "SELECTABLE"
131
+ }, {
132
+ "kind": "render_hint",
133
+ "name": "SORTABLE"
134
+ }],
135
+ "status": {
136
+ "type": "active",
137
+ "active": {}
138
+ }
139
+ }
140
+ },
141
+ "titlePropertyTypeRid": "name",
142
+ "apiName": "Dc3DistributionCenterProposal",
143
+ "status": {
144
+ "type": "active",
145
+ "active": {}
146
+ },
147
+ "redacted": false,
148
+ "implementsInterfaces2": [],
149
+ "allImplementsInterfaces": {}
150
+ },
151
+ "datasources": [{
152
+ "rid": "ri.ontology.main.datasource.Dc3DistributionCenterProposal",
153
+ "datasource": {
154
+ "type": "datasetV2",
155
+ "datasetV2": {
156
+ "datasetRid": "Dc3DistributionCenterProposal",
157
+ "propertyMapping": {
158
+ "primaryKey_": {
159
+ "type": "column",
160
+ "column": "primaryKey_"
161
+ },
162
+ "name": {
163
+ "type": "column",
164
+ "column": "name"
165
+ },
166
+ "price": {
167
+ "type": "column",
168
+ "column": "price"
169
+ },
170
+ "proposedLocation": {
171
+ "type": "column",
172
+ "column": "proposedLocation"
173
+ }
174
+ }
175
+ }
176
+ },
177
+ "editsConfiguration": {
178
+ "onlyAllowPrivilegedEdits": false
179
+ },
180
+ "redacted": false
181
+ }],
182
+ "entityMetadata": {
183
+ "arePatchesEnabled": false
184
+ }
185
+ },
186
+ "Dc3Restaurant": {
187
+ "objectType": {
188
+ "displayMetadata": {
189
+ "displayName": "[DC3] Restaurant",
190
+ "icon": {
191
+ "type": "blueprint",
192
+ "blueprint": {
193
+ "locator": "cube",
194
+ "color": "#2D72D2"
195
+ }
196
+ },
197
+ "pluralDisplayName": "[DC3] Restaurants",
198
+ "visibility": "NORMAL"
199
+ },
200
+ "primaryKeys": ["primaryKey_"],
201
+ "propertyTypes": {
202
+ "primaryKey_": {
203
+ "apiName": "primaryKey_",
204
+ "displayMetadata": {
205
+ "displayName": "Primary Key",
206
+ "visibility": "NORMAL"
207
+ },
208
+ "indexedForSearch": true,
209
+ "type": {
210
+ "type": "string",
211
+ "string": {
212
+ "isLongText": false,
213
+ "supportsEfficientLeadingWildcard": false,
214
+ "supportsExactMatching": true
215
+ }
216
+ },
217
+ "typeClasses": [{
218
+ "kind": "render_hint",
219
+ "name": "SELECTABLE"
220
+ }, {
221
+ "kind": "render_hint",
222
+ "name": "SORTABLE"
223
+ }],
224
+ "status": {
225
+ "type": "active",
226
+ "active": {}
227
+ }
228
+ },
229
+ "name": {
230
+ "apiName": "name",
231
+ "displayMetadata": {
232
+ "displayName": "Name",
233
+ "visibility": "NORMAL"
234
+ },
235
+ "indexedForSearch": true,
236
+ "type": {
237
+ "type": "string",
238
+ "string": {
239
+ "isLongText": false,
240
+ "supportsEfficientLeadingWildcard": false,
241
+ "supportsExactMatching": true
242
+ }
243
+ },
244
+ "typeClasses": [{
245
+ "kind": "render_hint",
246
+ "name": "SELECTABLE"
247
+ }, {
248
+ "kind": "render_hint",
249
+ "name": "SORTABLE"
250
+ }],
251
+ "status": {
252
+ "type": "active",
253
+ "active": {}
254
+ }
255
+ },
256
+ "location": {
257
+ "apiName": "location",
258
+ "displayMetadata": {
259
+ "displayName": "Location",
260
+ "visibility": "NORMAL"
261
+ },
262
+ "indexedForSearch": true,
263
+ "type": {
264
+ "type": "geohash",
265
+ "geohash": {}
266
+ },
267
+ "typeClasses": [{
268
+ "kind": "render_hint",
269
+ "name": "SELECTABLE"
270
+ }, {
271
+ "kind": "render_hint",
272
+ "name": "SORTABLE"
273
+ }],
274
+ "status": {
275
+ "type": "active",
276
+ "active": {}
277
+ }
278
+ },
279
+ "rating": {
280
+ "apiName": "rating",
281
+ "displayMetadata": {
282
+ "displayName": "Rating",
283
+ "visibility": "NORMAL"
284
+ },
285
+ "indexedForSearch": true,
286
+ "type": {
287
+ "type": "integer",
288
+ "integer": {}
289
+ },
290
+ "typeClasses": [{
291
+ "kind": "render_hint",
292
+ "name": "SELECTABLE"
293
+ }, {
294
+ "kind": "render_hint",
295
+ "name": "SORTABLE"
296
+ }],
297
+ "status": {
298
+ "type": "active",
299
+ "active": {}
300
+ }
301
+ }
302
+ },
303
+ "titlePropertyTypeRid": "name",
304
+ "apiName": "Dc3Restaurant",
305
+ "status": {
306
+ "type": "active",
307
+ "active": {}
308
+ },
309
+ "redacted": false,
310
+ "implementsInterfaces2": [],
311
+ "allImplementsInterfaces": {}
312
+ },
313
+ "datasources": [{
314
+ "rid": "ri.ontology.main.datasource.Dc3Restaurant",
315
+ "datasource": {
316
+ "type": "datasetV2",
317
+ "datasetV2": {
318
+ "datasetRid": "Dc3Restaurant",
319
+ "propertyMapping": {
320
+ "primaryKey_": {
321
+ "type": "column",
322
+ "column": "primaryKey_"
323
+ },
324
+ "name": {
325
+ "type": "column",
326
+ "column": "name"
327
+ },
328
+ "location": {
329
+ "type": "column",
330
+ "column": "location"
331
+ },
332
+ "rating": {
333
+ "type": "column",
334
+ "column": "rating"
335
+ }
336
+ }
337
+ }
338
+ },
339
+ "editsConfiguration": {
340
+ "onlyAllowPrivilegedEdits": false
341
+ },
342
+ "redacted": false
343
+ }],
344
+ "entityMetadata": {
345
+ "arePatchesEnabled": false
346
+ }
347
+ },
348
+ "Dc3DistributionRouteAnalysis": {
349
+ "objectType": {
350
+ "displayMetadata": {
351
+ "displayName": "[DC3] Distribution Route Analysis",
352
+ "icon": {
353
+ "type": "blueprint",
354
+ "blueprint": {
355
+ "locator": "cube",
356
+ "color": "#2D72D2"
357
+ }
358
+ },
359
+ "pluralDisplayName": "[DC3] Distribution Route Analyses",
360
+ "visibility": "NORMAL"
361
+ },
362
+ "primaryKeys": ["primaryKey_"],
363
+ "propertyTypes": {
364
+ "primaryKey_": {
365
+ "apiName": "primaryKey_",
366
+ "displayMetadata": {
367
+ "displayName": "Primary Key",
368
+ "visibility": "NORMAL"
369
+ },
370
+ "indexedForSearch": true,
371
+ "type": {
372
+ "type": "string",
373
+ "string": {
374
+ "isLongText": false,
375
+ "supportsEfficientLeadingWildcard": false,
376
+ "supportsExactMatching": true
377
+ }
378
+ },
379
+ "typeClasses": [{
380
+ "kind": "render_hint",
381
+ "name": "SELECTABLE"
382
+ }, {
383
+ "kind": "render_hint",
384
+ "name": "SORTABLE"
385
+ }],
386
+ "status": {
387
+ "type": "active",
388
+ "active": {}
389
+ }
390
+ },
391
+ "distributionProposal": {
392
+ "apiName": "distributionProposal",
393
+ "displayMetadata": {
394
+ "displayName": "Distribution Proposal",
395
+ "visibility": "NORMAL"
396
+ },
397
+ "indexedForSearch": true,
398
+ "type": {
399
+ "type": "string",
400
+ "string": {
401
+ "isLongText": false,
402
+ "supportsEfficientLeadingWildcard": false,
403
+ "supportsExactMatching": true
404
+ }
405
+ },
406
+ "typeClasses": [{
407
+ "kind": "render_hint",
408
+ "name": "SELECTABLE"
409
+ }, {
410
+ "kind": "render_hint",
411
+ "name": "SORTABLE"
412
+ }],
413
+ "status": {
414
+ "type": "active",
415
+ "active": {}
416
+ }
417
+ },
418
+ "restaurant": {
419
+ "apiName": "restaurant",
420
+ "displayMetadata": {
421
+ "displayName": "Restaurant",
422
+ "visibility": "NORMAL"
423
+ },
424
+ "indexedForSearch": true,
425
+ "type": {
426
+ "type": "string",
427
+ "string": {
428
+ "isLongText": false,
429
+ "supportsEfficientLeadingWildcard": false,
430
+ "supportsExactMatching": true
431
+ }
432
+ },
433
+ "typeClasses": [{
434
+ "kind": "render_hint",
435
+ "name": "SELECTABLE"
436
+ }, {
437
+ "kind": "render_hint",
438
+ "name": "SORTABLE"
439
+ }],
440
+ "status": {
441
+ "type": "active",
442
+ "active": {}
443
+ }
444
+ },
445
+ "timeMinutes": {
446
+ "apiName": "timeMinutes",
447
+ "displayMetadata": {
448
+ "displayName": "Time (Minutes)",
449
+ "visibility": "NORMAL"
450
+ },
451
+ "indexedForSearch": true,
452
+ "type": {
453
+ "type": "string",
454
+ "string": {
455
+ "isLongText": false,
456
+ "supportsEfficientLeadingWildcard": false,
457
+ "supportsExactMatching": true
458
+ }
459
+ },
460
+ "typeClasses": [{
461
+ "kind": "render_hint",
462
+ "name": "SELECTABLE"
463
+ }, {
464
+ "kind": "render_hint",
465
+ "name": "SORTABLE"
466
+ }],
467
+ "status": {
468
+ "type": "active",
469
+ "active": {}
470
+ }
471
+ }
472
+ },
473
+ "titlePropertyTypeRid": "primaryKey_",
474
+ "apiName": "Dc3DistributionRouteAnalysis",
475
+ "status": {
476
+ "type": "active",
477
+ "active": {}
478
+ },
479
+ "redacted": false,
480
+ "implementsInterfaces2": [],
481
+ "allImplementsInterfaces": {}
482
+ },
483
+ "datasources": [{
484
+ "rid": "ri.ontology.main.datasource.Dc3DistributionRouteAnalysis",
485
+ "datasource": {
486
+ "type": "datasetV2",
487
+ "datasetV2": {
488
+ "datasetRid": "Dc3DistributionRouteAnalysis",
489
+ "propertyMapping": {
490
+ "primaryKey_": {
491
+ "type": "column",
492
+ "column": "primaryKey_"
493
+ },
494
+ "distributionProposal": {
495
+ "type": "column",
496
+ "column": "distributionProposal"
497
+ },
498
+ "restaurant": {
499
+ "type": "column",
500
+ "column": "restaurant"
501
+ },
502
+ "timeMinutes": {
503
+ "type": "column",
504
+ "column": "timeMinutes"
505
+ }
506
+ }
507
+ }
508
+ },
509
+ "editsConfiguration": {
510
+ "onlyAllowPrivilegedEdits": false
511
+ },
512
+ "redacted": false
513
+ }],
514
+ "entityMetadata": {
515
+ "arePatchesEnabled": false
516
+ }
517
+ }
518
+ },
519
+ "sharedPropertyTypes": {},
520
+ "interfaceTypes": {},
521
+ "linkTypes": {
522
+ "Dc3RestaurantToDistributionRoute": {
523
+ "linkType": {
524
+ "definition": {
525
+ "type": "oneToMany",
526
+ "oneToMany": {
527
+ "cardinalityHint": "ONE_TO_ONE",
528
+ "manyToOneLinkMetadata": {
529
+ "displayMetadata": {
530
+ "displayName": "Distribution Route Analysis",
531
+ "pluralDisplayName": "Distribution Route Analyses",
532
+ "visibility": "NORMAL"
533
+ },
534
+ "apiName": "distributionRouteAnalysis",
535
+ "typeClasses": []
536
+ },
537
+ "objectTypeRidManySide": "Dc3DistributionRouteAnalysis",
538
+ "objectTypeRidOneSide": "Dc3Restaurant",
539
+ "oneToManyLinkMetadata": {
540
+ "displayMetadata": {
541
+ "displayName": "Restaurant",
542
+ "pluralDisplayName": "Restaurants",
543
+ "visibility": "NORMAL"
544
+ },
545
+ "apiName": "restaurant",
546
+ "typeClasses": []
547
+ },
548
+ "oneSidePrimaryKeyToManySidePropertyMapping": [{
549
+ "from": {
550
+ "apiName": "primaryKey_",
551
+ "object": "Dc3Restaurant"
552
+ },
553
+ "to": {
554
+ "apiName": "restaurant",
555
+ "object": "Dc3DistributionRouteAnalysis"
556
+ }
557
+ }]
558
+ }
559
+ },
560
+ "id": "Dc3RestaurantToDistributionRoute",
561
+ "status": {
562
+ "type": "active",
563
+ "active": {}
564
+ },
565
+ "redacted": false
566
+ },
567
+ "datasources": [],
568
+ "entityMetadata": {
569
+ "arePatchesEnabled": false
570
+ }
571
+ },
572
+ "Dc3DistributionCenterProposalToDistributionRoute": {
573
+ "linkType": {
574
+ "definition": {
575
+ "type": "oneToMany",
576
+ "oneToMany": {
577
+ "cardinalityHint": "ONE_TO_ONE",
578
+ "manyToOneLinkMetadata": {
579
+ "displayMetadata": {
580
+ "displayName": "Distribution Route Analysis",
581
+ "pluralDisplayName": "Distribution Route Analyses",
582
+ "visibility": "NORMAL"
583
+ },
584
+ "apiName": "distributionRouteAnalysis",
585
+ "typeClasses": []
586
+ },
587
+ "objectTypeRidManySide": "Dc3DistributionRouteAnalysis",
588
+ "objectTypeRidOneSide": "Dc3DistributionCenterProposal",
589
+ "oneToManyLinkMetadata": {
590
+ "displayMetadata": {
591
+ "displayName": "Distribution Center Proposal",
592
+ "pluralDisplayName": "Distribution Center Proposals",
593
+ "visibility": "NORMAL"
594
+ },
595
+ "apiName": "distributionCenterProposal",
596
+ "typeClasses": []
597
+ },
598
+ "oneSidePrimaryKeyToManySidePropertyMapping": [{
599
+ "from": {
600
+ "apiName": "primaryKey_",
601
+ "object": "Dc3DistributionCenterProposal"
602
+ },
603
+ "to": {
604
+ "apiName": "distributionProposal",
605
+ "object": "Dc3DistributionRouteAnalysis"
606
+ }
607
+ }]
608
+ }
609
+ },
610
+ "id": "Dc3DistributionCenterProposalToDistributionRoute",
611
+ "status": {
612
+ "type": "active",
613
+ "active": {}
614
+ },
615
+ "redacted": false
616
+ },
617
+ "datasources": [],
618
+ "entityMetadata": {
619
+ "arePatchesEnabled": false
620
+ }
621
+ }
622
+ },
623
+ "actionTypes": {
624
+ "create-object-dc3distribution-center-proposal": {
625
+ "actionType": {
626
+ "actionTypeLogic": {
627
+ "logic": {
628
+ "rules": [{
629
+ "type": "addObjectRule",
630
+ "addObjectRule": {
631
+ "objectTypeId": "Dc3DistributionCenterProposal",
632
+ "propertyValues": {
633
+ "primaryKey_": {
634
+ "type": "parameterId",
635
+ "parameterId": "primaryKey_"
636
+ },
637
+ "name": {
638
+ "type": "parameterId",
639
+ "parameterId": "name"
640
+ },
641
+ "price": {
642
+ "type": "parameterId",
643
+ "parameterId": "price"
644
+ },
645
+ "proposedLocation": {
646
+ "type": "parameterId",
647
+ "parameterId": "proposedLocation"
648
+ }
649
+ },
650
+ "structFieldValues": {}
651
+ }
652
+ }]
653
+ },
654
+ "validation": {
655
+ "actionTypeLevelValidation": {
656
+ "rules": {
657
+ "0": {
658
+ "condition": {
659
+ "type": "true",
660
+ "true": {}
661
+ },
662
+ "displayMetadata": {
663
+ "failureMessage": "",
664
+ "typeClasses": []
665
+ }
666
+ }
667
+ }
668
+ },
669
+ "parameterValidations": {
670
+ "primaryKey_": {
671
+ "defaultValidation": {
672
+ "display": {
673
+ "renderHint": {
674
+ "type": "textInput",
675
+ "textInput": {}
676
+ },
677
+ "visibility": {
678
+ "type": "editable",
679
+ "editable": {}
680
+ }
681
+ },
682
+ "validation": {
683
+ "allowedValues": {
684
+ "type": "text",
685
+ "text": {
686
+ "type": "text",
687
+ "text": {}
688
+ }
689
+ },
690
+ "required": {
691
+ "type": "required",
692
+ "required": {}
693
+ }
694
+ }
695
+ }
696
+ },
697
+ "name": {
698
+ "defaultValidation": {
699
+ "display": {
700
+ "renderHint": {
701
+ "type": "textInput",
702
+ "textInput": {}
703
+ },
704
+ "visibility": {
705
+ "type": "editable",
706
+ "editable": {}
707
+ }
708
+ },
709
+ "validation": {
710
+ "allowedValues": {
711
+ "type": "text",
712
+ "text": {
713
+ "type": "text",
714
+ "text": {}
715
+ }
716
+ },
717
+ "required": {
718
+ "type": "required",
719
+ "required": {}
720
+ }
721
+ }
722
+ }
723
+ },
724
+ "price": {
725
+ "defaultValidation": {
726
+ "display": {
727
+ "renderHint": {
728
+ "type": "numericInput",
729
+ "numericInput": {}
730
+ },
731
+ "visibility": {
732
+ "type": "editable",
733
+ "editable": {}
734
+ }
735
+ },
736
+ "validation": {
737
+ "allowedValues": {
738
+ "type": "range",
739
+ "range": {
740
+ "type": "range",
741
+ "range": {}
742
+ }
743
+ },
744
+ "required": {
745
+ "type": "required",
746
+ "required": {}
747
+ }
748
+ }
749
+ }
750
+ },
751
+ "proposedLocation": {
752
+ "defaultValidation": {
753
+ "display": {
754
+ "renderHint": {
755
+ "type": "textInput",
756
+ "textInput": {}
757
+ },
758
+ "visibility": {
759
+ "type": "editable",
760
+ "editable": {}
761
+ }
762
+ },
763
+ "validation": {
764
+ "allowedValues": {
765
+ "type": "geoshape",
766
+ "geoshape": {
767
+ "type": "geoshape",
768
+ "geoshape": {}
769
+ }
770
+ },
771
+ "required": {
772
+ "type": "required",
773
+ "required": {}
774
+ }
775
+ }
776
+ }
777
+ }
778
+ }
779
+ }
780
+ },
781
+ "metadata": {
782
+ "apiName": "create-object-dc3distribution-center-proposal",
783
+ "displayMetadata": {
784
+ "configuration": {
785
+ "defaultLayout": "FORM",
786
+ "displayAndFormat": {
787
+ "table": {
788
+ "columnWidthByParameterRid": {},
789
+ "enableFileImport": true,
790
+ "fitHorizontally": false,
791
+ "frozenColumnCount": 0,
792
+ "rowHeightInLines": 1
793
+ }
794
+ },
795
+ "enableLayoutUserSwitch": false
796
+ },
797
+ "description": "",
798
+ "displayName": "Create [DC3] Distribution Center Proposal",
799
+ "icon": {
800
+ "type": "blueprint",
801
+ "blueprint": {
802
+ "locator": "edit",
803
+ "color": "#000000"
804
+ }
805
+ },
806
+ "successMessage": [],
807
+ "typeClasses": []
808
+ },
809
+ "formContentOrdering": [],
810
+ "parameterOrdering": ["primaryKey_", "name", "price", "proposedLocation"],
811
+ "parameters": {
812
+ "primaryKey_": {
813
+ "id": "primaryKey_",
814
+ "type": {
815
+ "type": "string",
816
+ "string": {}
817
+ },
818
+ "displayMetadata": {
819
+ "displayName": "Primary Key",
820
+ "description": "",
821
+ "typeClasses": []
822
+ }
823
+ },
824
+ "name": {
825
+ "id": "name",
826
+ "type": {
827
+ "type": "string",
828
+ "string": {}
829
+ },
830
+ "displayMetadata": {
831
+ "displayName": "Name",
832
+ "description": "",
833
+ "typeClasses": []
834
+ }
835
+ },
836
+ "price": {
837
+ "id": "price",
838
+ "type": {
839
+ "type": "double",
840
+ "double": {}
841
+ },
842
+ "displayMetadata": {
843
+ "displayName": "Price",
844
+ "description": "",
845
+ "typeClasses": []
846
+ }
847
+ },
848
+ "proposedLocation": {
849
+ "id": "proposedLocation",
850
+ "type": {
851
+ "type": "geoshape",
852
+ "geoshape": {}
853
+ },
854
+ "displayMetadata": {
855
+ "displayName": "Proposed Location",
856
+ "description": "",
857
+ "typeClasses": []
858
+ }
859
+ }
860
+ },
861
+ "sections": {},
862
+ "status": {
863
+ "type": "active",
864
+ "active": {}
865
+ }
866
+ }
867
+ }
868
+ },
869
+ "modify-object-dc3distribution-center-proposal": {
870
+ "actionType": {
871
+ "actionTypeLogic": {
872
+ "logic": {
873
+ "rules": [{
874
+ "type": "modifyObjectRule",
875
+ "modifyObjectRule": {
876
+ "objectToModify": "objectToModifyParameter",
877
+ "propertyValues": {
878
+ "primaryKey_": {
879
+ "type": "parameterId",
880
+ "parameterId": "primaryKey_"
881
+ },
882
+ "name": {
883
+ "type": "parameterId",
884
+ "parameterId": "name"
885
+ },
886
+ "price": {
887
+ "type": "parameterId",
888
+ "parameterId": "price"
889
+ },
890
+ "proposedLocation": {
891
+ "type": "parameterId",
892
+ "parameterId": "proposedLocation"
893
+ }
894
+ },
895
+ "structFieldValues": {}
896
+ }
897
+ }]
898
+ },
899
+ "validation": {
900
+ "actionTypeLevelValidation": {
901
+ "rules": {
902
+ "0": {
903
+ "condition": {
904
+ "type": "true",
905
+ "true": {}
906
+ },
907
+ "displayMetadata": {
908
+ "failureMessage": "",
909
+ "typeClasses": []
910
+ }
911
+ }
912
+ }
913
+ },
914
+ "parameterValidations": {
915
+ "objectToModifyParameter": {
916
+ "defaultValidation": {
917
+ "display": {
918
+ "renderHint": {
919
+ "type": "dropdown",
920
+ "dropdown": {}
921
+ },
922
+ "visibility": {
923
+ "type": "editable",
924
+ "editable": {}
925
+ }
926
+ },
927
+ "validation": {
928
+ "allowedValues": {
929
+ "type": "objectQuery",
930
+ "objectQuery": {
931
+ "type": "objectQuery",
932
+ "objectQuery": {}
933
+ }
934
+ },
935
+ "required": {
936
+ "type": "required",
937
+ "required": {}
938
+ }
939
+ }
940
+ }
941
+ },
942
+ "primaryKey_": {
943
+ "defaultValidation": {
944
+ "display": {
945
+ "renderHint": {
946
+ "type": "textInput",
947
+ "textInput": {}
948
+ },
949
+ "visibility": {
950
+ "type": "editable",
951
+ "editable": {}
952
+ }
953
+ },
954
+ "validation": {
955
+ "allowedValues": {
956
+ "type": "text",
957
+ "text": {
958
+ "type": "text",
959
+ "text": {}
960
+ }
961
+ },
962
+ "required": {
963
+ "type": "required",
964
+ "required": {}
965
+ }
966
+ }
967
+ }
968
+ },
969
+ "name": {
970
+ "defaultValidation": {
971
+ "display": {
972
+ "renderHint": {
973
+ "type": "textInput",
974
+ "textInput": {}
975
+ },
976
+ "visibility": {
977
+ "type": "editable",
978
+ "editable": {}
979
+ }
980
+ },
981
+ "validation": {
982
+ "allowedValues": {
983
+ "type": "text",
984
+ "text": {
985
+ "type": "text",
986
+ "text": {}
987
+ }
988
+ },
989
+ "required": {
990
+ "type": "required",
991
+ "required": {}
992
+ }
993
+ }
994
+ }
995
+ },
996
+ "price": {
997
+ "defaultValidation": {
998
+ "display": {
999
+ "renderHint": {
1000
+ "type": "numericInput",
1001
+ "numericInput": {}
1002
+ },
1003
+ "visibility": {
1004
+ "type": "editable",
1005
+ "editable": {}
1006
+ }
1007
+ },
1008
+ "validation": {
1009
+ "allowedValues": {
1010
+ "type": "range",
1011
+ "range": {
1012
+ "type": "range",
1013
+ "range": {}
1014
+ }
1015
+ },
1016
+ "required": {
1017
+ "type": "required",
1018
+ "required": {}
1019
+ }
1020
+ }
1021
+ }
1022
+ },
1023
+ "proposedLocation": {
1024
+ "defaultValidation": {
1025
+ "display": {
1026
+ "renderHint": {
1027
+ "type": "textInput",
1028
+ "textInput": {}
1029
+ },
1030
+ "visibility": {
1031
+ "type": "editable",
1032
+ "editable": {}
1033
+ }
1034
+ },
1035
+ "validation": {
1036
+ "allowedValues": {
1037
+ "type": "geoshape",
1038
+ "geoshape": {
1039
+ "type": "geoshape",
1040
+ "geoshape": {}
1041
+ }
1042
+ },
1043
+ "required": {
1044
+ "type": "required",
1045
+ "required": {}
1046
+ }
1047
+ }
1048
+ }
1049
+ }
1050
+ }
1051
+ }
1052
+ },
1053
+ "metadata": {
1054
+ "apiName": "modify-object-dc3distribution-center-proposal",
1055
+ "displayMetadata": {
1056
+ "configuration": {
1057
+ "defaultLayout": "FORM",
1058
+ "displayAndFormat": {
1059
+ "table": {
1060
+ "columnWidthByParameterRid": {},
1061
+ "enableFileImport": true,
1062
+ "fitHorizontally": false,
1063
+ "frozenColumnCount": 0,
1064
+ "rowHeightInLines": 1
1065
+ }
1066
+ },
1067
+ "enableLayoutUserSwitch": false
1068
+ },
1069
+ "description": "",
1070
+ "displayName": "Modify [DC3] Distribution Center Proposal",
1071
+ "icon": {
1072
+ "type": "blueprint",
1073
+ "blueprint": {
1074
+ "locator": "edit",
1075
+ "color": "#000000"
1076
+ }
1077
+ },
1078
+ "successMessage": [],
1079
+ "typeClasses": []
1080
+ },
1081
+ "formContentOrdering": [],
1082
+ "parameterOrdering": ["objectToModifyParameter", "primaryKey_", "name", "price", "proposedLocation"],
1083
+ "parameters": {
1084
+ "objectToModifyParameter": {
1085
+ "id": "objectToModifyParameter",
1086
+ "type": {
1087
+ "type": "objectReference",
1088
+ "objectReference": {
1089
+ "objectTypeId": "Dc3DistributionCenterProposal"
1090
+ }
1091
+ },
1092
+ "displayMetadata": {
1093
+ "displayName": "Modify object",
1094
+ "description": "",
1095
+ "typeClasses": []
1096
+ }
1097
+ },
1098
+ "primaryKey_": {
1099
+ "id": "primaryKey_",
1100
+ "type": {
1101
+ "type": "string",
1102
+ "string": {}
1103
+ },
1104
+ "displayMetadata": {
1105
+ "displayName": "Primary Key",
1106
+ "description": "",
1107
+ "typeClasses": []
1108
+ }
1109
+ },
1110
+ "name": {
1111
+ "id": "name",
1112
+ "type": {
1113
+ "type": "string",
1114
+ "string": {}
1115
+ },
1116
+ "displayMetadata": {
1117
+ "displayName": "Name",
1118
+ "description": "",
1119
+ "typeClasses": []
1120
+ }
1121
+ },
1122
+ "price": {
1123
+ "id": "price",
1124
+ "type": {
1125
+ "type": "double",
1126
+ "double": {}
1127
+ },
1128
+ "displayMetadata": {
1129
+ "displayName": "Price",
1130
+ "description": "",
1131
+ "typeClasses": []
1132
+ }
1133
+ },
1134
+ "proposedLocation": {
1135
+ "id": "proposedLocation",
1136
+ "type": {
1137
+ "type": "geoshape",
1138
+ "geoshape": {}
1139
+ },
1140
+ "displayMetadata": {
1141
+ "displayName": "Proposed Location",
1142
+ "description": "",
1143
+ "typeClasses": []
1144
+ }
1145
+ }
1146
+ },
1147
+ "sections": {},
1148
+ "status": {
1149
+ "type": "active",
1150
+ "active": {}
1151
+ }
1152
+ }
1153
+ }
1154
+ },
1155
+ "delete-object-dc3distribution-center-proposal": {
1156
+ "actionType": {
1157
+ "actionTypeLogic": {
1158
+ "logic": {
1159
+ "rules": [{
1160
+ "type": "deleteObjectRule",
1161
+ "deleteObjectRule": {
1162
+ "objectToDelete": "objectToDeleteParameter"
1163
+ }
1164
+ }]
1165
+ },
1166
+ "validation": {
1167
+ "actionTypeLevelValidation": {
1168
+ "rules": {
1169
+ "0": {
1170
+ "condition": {
1171
+ "type": "true",
1172
+ "true": {}
1173
+ },
1174
+ "displayMetadata": {
1175
+ "failureMessage": "",
1176
+ "typeClasses": []
1177
+ }
1178
+ }
1179
+ }
1180
+ },
1181
+ "parameterValidations": {
1182
+ "objectToDeleteParameter": {
1183
+ "defaultValidation": {
1184
+ "display": {
1185
+ "renderHint": {
1186
+ "type": "dropdown",
1187
+ "dropdown": {}
1188
+ },
1189
+ "visibility": {
1190
+ "type": "editable",
1191
+ "editable": {}
1192
+ }
1193
+ },
1194
+ "validation": {
1195
+ "allowedValues": {
1196
+ "type": "objectQuery",
1197
+ "objectQuery": {
1198
+ "type": "objectQuery",
1199
+ "objectQuery": {}
1200
+ }
1201
+ },
1202
+ "required": {
1203
+ "type": "required",
1204
+ "required": {}
1205
+ }
1206
+ }
1207
+ }
1208
+ }
1209
+ }
1210
+ }
1211
+ },
1212
+ "metadata": {
1213
+ "apiName": "delete-object-dc3distribution-center-proposal",
1214
+ "displayMetadata": {
1215
+ "configuration": {
1216
+ "defaultLayout": "FORM",
1217
+ "displayAndFormat": {
1218
+ "table": {
1219
+ "columnWidthByParameterRid": {},
1220
+ "enableFileImport": true,
1221
+ "fitHorizontally": false,
1222
+ "frozenColumnCount": 0,
1223
+ "rowHeightInLines": 1
1224
+ }
1225
+ },
1226
+ "enableLayoutUserSwitch": false
1227
+ },
1228
+ "description": "",
1229
+ "displayName": "Delete [DC3] Distribution Center Proposal",
1230
+ "icon": {
1231
+ "type": "blueprint",
1232
+ "blueprint": {
1233
+ "locator": "edit",
1234
+ "color": "#000000"
1235
+ }
1236
+ },
1237
+ "successMessage": [],
1238
+ "typeClasses": []
1239
+ },
1240
+ "formContentOrdering": [],
1241
+ "parameterOrdering": ["objectToDeleteParameter"],
1242
+ "parameters": {
1243
+ "objectToDeleteParameter": {
1244
+ "id": "objectToDeleteParameter",
1245
+ "type": {
1246
+ "type": "objectReference",
1247
+ "objectReference": {
1248
+ "objectTypeId": "Dc3DistributionCenterProposal"
1249
+ }
1250
+ },
1251
+ "displayMetadata": {
1252
+ "displayName": "Delete object",
1253
+ "description": "",
1254
+ "typeClasses": []
1255
+ }
1256
+ }
1257
+ },
1258
+ "sections": {},
1259
+ "status": {
1260
+ "type": "active",
1261
+ "active": {}
1262
+ }
1263
+ }
1264
+ }
1265
+ },
1266
+ "create-object-dc3restaurant": {
1267
+ "actionType": {
1268
+ "actionTypeLogic": {
1269
+ "logic": {
1270
+ "rules": [{
1271
+ "type": "addObjectRule",
1272
+ "addObjectRule": {
1273
+ "objectTypeId": "Dc3Restaurant",
1274
+ "propertyValues": {
1275
+ "primaryKey_": {
1276
+ "type": "parameterId",
1277
+ "parameterId": "primaryKey_"
1278
+ },
1279
+ "name": {
1280
+ "type": "parameterId",
1281
+ "parameterId": "name"
1282
+ },
1283
+ "location": {
1284
+ "type": "parameterId",
1285
+ "parameterId": "location"
1286
+ },
1287
+ "rating": {
1288
+ "type": "parameterId",
1289
+ "parameterId": "rating"
1290
+ }
1291
+ },
1292
+ "structFieldValues": {}
1293
+ }
1294
+ }]
1295
+ },
1296
+ "validation": {
1297
+ "actionTypeLevelValidation": {
1298
+ "rules": {
1299
+ "0": {
1300
+ "condition": {
1301
+ "type": "true",
1302
+ "true": {}
1303
+ },
1304
+ "displayMetadata": {
1305
+ "failureMessage": "",
1306
+ "typeClasses": []
1307
+ }
1308
+ }
1309
+ }
1310
+ },
1311
+ "parameterValidations": {
1312
+ "primaryKey_": {
1313
+ "defaultValidation": {
1314
+ "display": {
1315
+ "renderHint": {
1316
+ "type": "textInput",
1317
+ "textInput": {}
1318
+ },
1319
+ "visibility": {
1320
+ "type": "editable",
1321
+ "editable": {}
1322
+ }
1323
+ },
1324
+ "validation": {
1325
+ "allowedValues": {
1326
+ "type": "text",
1327
+ "text": {
1328
+ "type": "text",
1329
+ "text": {}
1330
+ }
1331
+ },
1332
+ "required": {
1333
+ "type": "required",
1334
+ "required": {}
1335
+ }
1336
+ }
1337
+ }
1338
+ },
1339
+ "name": {
1340
+ "defaultValidation": {
1341
+ "display": {
1342
+ "renderHint": {
1343
+ "type": "textInput",
1344
+ "textInput": {}
1345
+ },
1346
+ "visibility": {
1347
+ "type": "editable",
1348
+ "editable": {}
1349
+ }
1350
+ },
1351
+ "validation": {
1352
+ "allowedValues": {
1353
+ "type": "text",
1354
+ "text": {
1355
+ "type": "text",
1356
+ "text": {}
1357
+ }
1358
+ },
1359
+ "required": {
1360
+ "type": "required",
1361
+ "required": {}
1362
+ }
1363
+ }
1364
+ }
1365
+ },
1366
+ "location": {
1367
+ "defaultValidation": {
1368
+ "display": {
1369
+ "renderHint": {
1370
+ "type": "textInput",
1371
+ "textInput": {}
1372
+ },
1373
+ "visibility": {
1374
+ "type": "editable",
1375
+ "editable": {}
1376
+ }
1377
+ },
1378
+ "validation": {
1379
+ "allowedValues": {
1380
+ "type": "geoshape",
1381
+ "geoshape": {
1382
+ "type": "geoshape",
1383
+ "geoshape": {}
1384
+ }
1385
+ },
1386
+ "required": {
1387
+ "type": "required",
1388
+ "required": {}
1389
+ }
1390
+ }
1391
+ }
1392
+ },
1393
+ "rating": {
1394
+ "defaultValidation": {
1395
+ "display": {
1396
+ "renderHint": {
1397
+ "type": "numericInput",
1398
+ "numericInput": {}
1399
+ },
1400
+ "visibility": {
1401
+ "type": "editable",
1402
+ "editable": {}
1403
+ }
1404
+ },
1405
+ "validation": {
1406
+ "allowedValues": {
1407
+ "type": "range",
1408
+ "range": {
1409
+ "type": "range",
1410
+ "range": {}
1411
+ }
1412
+ },
1413
+ "required": {
1414
+ "type": "required",
1415
+ "required": {}
1416
+ }
1417
+ }
1418
+ }
1419
+ }
1420
+ }
1421
+ }
1422
+ },
1423
+ "metadata": {
1424
+ "apiName": "create-object-dc3restaurant",
1425
+ "displayMetadata": {
1426
+ "configuration": {
1427
+ "defaultLayout": "FORM",
1428
+ "displayAndFormat": {
1429
+ "table": {
1430
+ "columnWidthByParameterRid": {},
1431
+ "enableFileImport": true,
1432
+ "fitHorizontally": false,
1433
+ "frozenColumnCount": 0,
1434
+ "rowHeightInLines": 1
1435
+ }
1436
+ },
1437
+ "enableLayoutUserSwitch": false
1438
+ },
1439
+ "description": "",
1440
+ "displayName": "Create [DC3] Restaurant",
1441
+ "icon": {
1442
+ "type": "blueprint",
1443
+ "blueprint": {
1444
+ "locator": "edit",
1445
+ "color": "#000000"
1446
+ }
1447
+ },
1448
+ "successMessage": [],
1449
+ "typeClasses": []
1450
+ },
1451
+ "formContentOrdering": [],
1452
+ "parameterOrdering": ["primaryKey_", "name", "location", "rating"],
1453
+ "parameters": {
1454
+ "primaryKey_": {
1455
+ "id": "primaryKey_",
1456
+ "type": {
1457
+ "type": "string",
1458
+ "string": {}
1459
+ },
1460
+ "displayMetadata": {
1461
+ "displayName": "Primary Key",
1462
+ "description": "",
1463
+ "typeClasses": []
1464
+ }
1465
+ },
1466
+ "name": {
1467
+ "id": "name",
1468
+ "type": {
1469
+ "type": "string",
1470
+ "string": {}
1471
+ },
1472
+ "displayMetadata": {
1473
+ "displayName": "Name",
1474
+ "description": "",
1475
+ "typeClasses": []
1476
+ }
1477
+ },
1478
+ "location": {
1479
+ "id": "location",
1480
+ "type": {
1481
+ "type": "geoshape",
1482
+ "geoshape": {}
1483
+ },
1484
+ "displayMetadata": {
1485
+ "displayName": "Location",
1486
+ "description": "",
1487
+ "typeClasses": []
1488
+ }
1489
+ },
1490
+ "rating": {
1491
+ "id": "rating",
1492
+ "type": {
1493
+ "type": "integer",
1494
+ "integer": {}
1495
+ },
1496
+ "displayMetadata": {
1497
+ "displayName": "Rating",
1498
+ "description": "",
1499
+ "typeClasses": []
1500
+ }
1501
+ }
1502
+ },
1503
+ "sections": {},
1504
+ "status": {
1505
+ "type": "active",
1506
+ "active": {}
1507
+ }
1508
+ }
1509
+ }
1510
+ },
1511
+ "modify-object-dc3restaurant": {
1512
+ "actionType": {
1513
+ "actionTypeLogic": {
1514
+ "logic": {
1515
+ "rules": [{
1516
+ "type": "modifyObjectRule",
1517
+ "modifyObjectRule": {
1518
+ "objectToModify": "objectToModifyParameter",
1519
+ "propertyValues": {
1520
+ "primaryKey_": {
1521
+ "type": "parameterId",
1522
+ "parameterId": "primaryKey_"
1523
+ },
1524
+ "name": {
1525
+ "type": "parameterId",
1526
+ "parameterId": "name"
1527
+ },
1528
+ "location": {
1529
+ "type": "parameterId",
1530
+ "parameterId": "location"
1531
+ },
1532
+ "rating": {
1533
+ "type": "parameterId",
1534
+ "parameterId": "rating"
1535
+ }
1536
+ },
1537
+ "structFieldValues": {}
1538
+ }
1539
+ }]
1540
+ },
1541
+ "validation": {
1542
+ "actionTypeLevelValidation": {
1543
+ "rules": {
1544
+ "0": {
1545
+ "condition": {
1546
+ "type": "true",
1547
+ "true": {}
1548
+ },
1549
+ "displayMetadata": {
1550
+ "failureMessage": "",
1551
+ "typeClasses": []
1552
+ }
1553
+ }
1554
+ }
1555
+ },
1556
+ "parameterValidations": {
1557
+ "objectToModifyParameter": {
1558
+ "defaultValidation": {
1559
+ "display": {
1560
+ "renderHint": {
1561
+ "type": "dropdown",
1562
+ "dropdown": {}
1563
+ },
1564
+ "visibility": {
1565
+ "type": "editable",
1566
+ "editable": {}
1567
+ }
1568
+ },
1569
+ "validation": {
1570
+ "allowedValues": {
1571
+ "type": "objectQuery",
1572
+ "objectQuery": {
1573
+ "type": "objectQuery",
1574
+ "objectQuery": {}
1575
+ }
1576
+ },
1577
+ "required": {
1578
+ "type": "required",
1579
+ "required": {}
1580
+ }
1581
+ }
1582
+ }
1583
+ },
1584
+ "primaryKey_": {
1585
+ "defaultValidation": {
1586
+ "display": {
1587
+ "renderHint": {
1588
+ "type": "textInput",
1589
+ "textInput": {}
1590
+ },
1591
+ "visibility": {
1592
+ "type": "editable",
1593
+ "editable": {}
1594
+ }
1595
+ },
1596
+ "validation": {
1597
+ "allowedValues": {
1598
+ "type": "text",
1599
+ "text": {
1600
+ "type": "text",
1601
+ "text": {}
1602
+ }
1603
+ },
1604
+ "required": {
1605
+ "type": "required",
1606
+ "required": {}
1607
+ }
1608
+ }
1609
+ }
1610
+ },
1611
+ "name": {
1612
+ "defaultValidation": {
1613
+ "display": {
1614
+ "renderHint": {
1615
+ "type": "textInput",
1616
+ "textInput": {}
1617
+ },
1618
+ "visibility": {
1619
+ "type": "editable",
1620
+ "editable": {}
1621
+ }
1622
+ },
1623
+ "validation": {
1624
+ "allowedValues": {
1625
+ "type": "text",
1626
+ "text": {
1627
+ "type": "text",
1628
+ "text": {}
1629
+ }
1630
+ },
1631
+ "required": {
1632
+ "type": "required",
1633
+ "required": {}
1634
+ }
1635
+ }
1636
+ }
1637
+ },
1638
+ "location": {
1639
+ "defaultValidation": {
1640
+ "display": {
1641
+ "renderHint": {
1642
+ "type": "textInput",
1643
+ "textInput": {}
1644
+ },
1645
+ "visibility": {
1646
+ "type": "editable",
1647
+ "editable": {}
1648
+ }
1649
+ },
1650
+ "validation": {
1651
+ "allowedValues": {
1652
+ "type": "geoshape",
1653
+ "geoshape": {
1654
+ "type": "geoshape",
1655
+ "geoshape": {}
1656
+ }
1657
+ },
1658
+ "required": {
1659
+ "type": "required",
1660
+ "required": {}
1661
+ }
1662
+ }
1663
+ }
1664
+ },
1665
+ "rating": {
1666
+ "defaultValidation": {
1667
+ "display": {
1668
+ "renderHint": {
1669
+ "type": "numericInput",
1670
+ "numericInput": {}
1671
+ },
1672
+ "visibility": {
1673
+ "type": "editable",
1674
+ "editable": {}
1675
+ }
1676
+ },
1677
+ "validation": {
1678
+ "allowedValues": {
1679
+ "type": "range",
1680
+ "range": {
1681
+ "type": "range",
1682
+ "range": {}
1683
+ }
1684
+ },
1685
+ "required": {
1686
+ "type": "required",
1687
+ "required": {}
1688
+ }
1689
+ }
1690
+ }
1691
+ }
1692
+ }
1693
+ }
1694
+ },
1695
+ "metadata": {
1696
+ "apiName": "modify-object-dc3restaurant",
1697
+ "displayMetadata": {
1698
+ "configuration": {
1699
+ "defaultLayout": "FORM",
1700
+ "displayAndFormat": {
1701
+ "table": {
1702
+ "columnWidthByParameterRid": {},
1703
+ "enableFileImport": true,
1704
+ "fitHorizontally": false,
1705
+ "frozenColumnCount": 0,
1706
+ "rowHeightInLines": 1
1707
+ }
1708
+ },
1709
+ "enableLayoutUserSwitch": false
1710
+ },
1711
+ "description": "",
1712
+ "displayName": "Modify [DC3] Restaurant",
1713
+ "icon": {
1714
+ "type": "blueprint",
1715
+ "blueprint": {
1716
+ "locator": "edit",
1717
+ "color": "#000000"
1718
+ }
1719
+ },
1720
+ "successMessage": [],
1721
+ "typeClasses": []
1722
+ },
1723
+ "formContentOrdering": [],
1724
+ "parameterOrdering": ["objectToModifyParameter", "primaryKey_", "name", "location", "rating"],
1725
+ "parameters": {
1726
+ "objectToModifyParameter": {
1727
+ "id": "objectToModifyParameter",
1728
+ "type": {
1729
+ "type": "objectReference",
1730
+ "objectReference": {
1731
+ "objectTypeId": "Dc3Restaurant"
1732
+ }
1733
+ },
1734
+ "displayMetadata": {
1735
+ "displayName": "Modify object",
1736
+ "description": "",
1737
+ "typeClasses": []
1738
+ }
1739
+ },
1740
+ "primaryKey_": {
1741
+ "id": "primaryKey_",
1742
+ "type": {
1743
+ "type": "string",
1744
+ "string": {}
1745
+ },
1746
+ "displayMetadata": {
1747
+ "displayName": "Primary Key",
1748
+ "description": "",
1749
+ "typeClasses": []
1750
+ }
1751
+ },
1752
+ "name": {
1753
+ "id": "name",
1754
+ "type": {
1755
+ "type": "string",
1756
+ "string": {}
1757
+ },
1758
+ "displayMetadata": {
1759
+ "displayName": "Name",
1760
+ "description": "",
1761
+ "typeClasses": []
1762
+ }
1763
+ },
1764
+ "location": {
1765
+ "id": "location",
1766
+ "type": {
1767
+ "type": "geoshape",
1768
+ "geoshape": {}
1769
+ },
1770
+ "displayMetadata": {
1771
+ "displayName": "Location",
1772
+ "description": "",
1773
+ "typeClasses": []
1774
+ }
1775
+ },
1776
+ "rating": {
1777
+ "id": "rating",
1778
+ "type": {
1779
+ "type": "integer",
1780
+ "integer": {}
1781
+ },
1782
+ "displayMetadata": {
1783
+ "displayName": "Rating",
1784
+ "description": "",
1785
+ "typeClasses": []
1786
+ }
1787
+ }
1788
+ },
1789
+ "sections": {},
1790
+ "status": {
1791
+ "type": "active",
1792
+ "active": {}
1793
+ }
1794
+ }
1795
+ }
1796
+ },
1797
+ "delete-object-dc3restaurant": {
1798
+ "actionType": {
1799
+ "actionTypeLogic": {
1800
+ "logic": {
1801
+ "rules": [{
1802
+ "type": "deleteObjectRule",
1803
+ "deleteObjectRule": {
1804
+ "objectToDelete": "objectToDeleteParameter"
1805
+ }
1806
+ }]
1807
+ },
1808
+ "validation": {
1809
+ "actionTypeLevelValidation": {
1810
+ "rules": {
1811
+ "0": {
1812
+ "condition": {
1813
+ "type": "true",
1814
+ "true": {}
1815
+ },
1816
+ "displayMetadata": {
1817
+ "failureMessage": "",
1818
+ "typeClasses": []
1819
+ }
1820
+ }
1821
+ }
1822
+ },
1823
+ "parameterValidations": {
1824
+ "objectToDeleteParameter": {
1825
+ "defaultValidation": {
1826
+ "display": {
1827
+ "renderHint": {
1828
+ "type": "dropdown",
1829
+ "dropdown": {}
1830
+ },
1831
+ "visibility": {
1832
+ "type": "editable",
1833
+ "editable": {}
1834
+ }
1835
+ },
1836
+ "validation": {
1837
+ "allowedValues": {
1838
+ "type": "objectQuery",
1839
+ "objectQuery": {
1840
+ "type": "objectQuery",
1841
+ "objectQuery": {}
1842
+ }
1843
+ },
1844
+ "required": {
1845
+ "type": "required",
1846
+ "required": {}
1847
+ }
1848
+ }
1849
+ }
1850
+ }
1851
+ }
1852
+ }
1853
+ },
1854
+ "metadata": {
1855
+ "apiName": "delete-object-dc3restaurant",
1856
+ "displayMetadata": {
1857
+ "configuration": {
1858
+ "defaultLayout": "FORM",
1859
+ "displayAndFormat": {
1860
+ "table": {
1861
+ "columnWidthByParameterRid": {},
1862
+ "enableFileImport": true,
1863
+ "fitHorizontally": false,
1864
+ "frozenColumnCount": 0,
1865
+ "rowHeightInLines": 1
1866
+ }
1867
+ },
1868
+ "enableLayoutUserSwitch": false
1869
+ },
1870
+ "description": "",
1871
+ "displayName": "Delete [DC3] Restaurant",
1872
+ "icon": {
1873
+ "type": "blueprint",
1874
+ "blueprint": {
1875
+ "locator": "edit",
1876
+ "color": "#000000"
1877
+ }
1878
+ },
1879
+ "successMessage": [],
1880
+ "typeClasses": []
1881
+ },
1882
+ "formContentOrdering": [],
1883
+ "parameterOrdering": ["objectToDeleteParameter"],
1884
+ "parameters": {
1885
+ "objectToDeleteParameter": {
1886
+ "id": "objectToDeleteParameter",
1887
+ "type": {
1888
+ "type": "objectReference",
1889
+ "objectReference": {
1890
+ "objectTypeId": "Dc3Restaurant"
1891
+ }
1892
+ },
1893
+ "displayMetadata": {
1894
+ "displayName": "Delete object",
1895
+ "description": "",
1896
+ "typeClasses": []
1897
+ }
1898
+ }
1899
+ },
1900
+ "sections": {},
1901
+ "status": {
1902
+ "type": "active",
1903
+ "active": {}
1904
+ }
1905
+ }
1906
+ }
1907
+ },
1908
+ "create-object-dc3distribution-route-analysis": {
1909
+ "actionType": {
1910
+ "actionTypeLogic": {
1911
+ "logic": {
1912
+ "rules": [{
1913
+ "type": "addObjectRule",
1914
+ "addObjectRule": {
1915
+ "objectTypeId": "Dc3DistributionRouteAnalysis",
1916
+ "propertyValues": {
1917
+ "primaryKey_": {
1918
+ "type": "parameterId",
1919
+ "parameterId": "primaryKey_"
1920
+ },
1921
+ "distributionProposal": {
1922
+ "type": "parameterId",
1923
+ "parameterId": "distributionProposal"
1924
+ },
1925
+ "restaurant": {
1926
+ "type": "parameterId",
1927
+ "parameterId": "restaurant"
1928
+ },
1929
+ "timeMinutes": {
1930
+ "type": "parameterId",
1931
+ "parameterId": "timeMinutes"
1932
+ }
1933
+ },
1934
+ "structFieldValues": {}
1935
+ }
1936
+ }]
1937
+ },
1938
+ "validation": {
1939
+ "actionTypeLevelValidation": {
1940
+ "rules": {
1941
+ "0": {
1942
+ "condition": {
1943
+ "type": "true",
1944
+ "true": {}
1945
+ },
1946
+ "displayMetadata": {
1947
+ "failureMessage": "",
1948
+ "typeClasses": []
1949
+ }
1950
+ }
1951
+ }
1952
+ },
1953
+ "parameterValidations": {
1954
+ "primaryKey_": {
1955
+ "defaultValidation": {
1956
+ "display": {
1957
+ "renderHint": {
1958
+ "type": "textInput",
1959
+ "textInput": {}
1960
+ },
1961
+ "visibility": {
1962
+ "type": "editable",
1963
+ "editable": {}
1964
+ }
1965
+ },
1966
+ "validation": {
1967
+ "allowedValues": {
1968
+ "type": "text",
1969
+ "text": {
1970
+ "type": "text",
1971
+ "text": {}
1972
+ }
1973
+ },
1974
+ "required": {
1975
+ "type": "required",
1976
+ "required": {}
1977
+ }
1978
+ }
1979
+ }
1980
+ },
1981
+ "distributionProposal": {
1982
+ "defaultValidation": {
1983
+ "display": {
1984
+ "renderHint": {
1985
+ "type": "textInput",
1986
+ "textInput": {}
1987
+ },
1988
+ "visibility": {
1989
+ "type": "editable",
1990
+ "editable": {}
1991
+ }
1992
+ },
1993
+ "validation": {
1994
+ "allowedValues": {
1995
+ "type": "text",
1996
+ "text": {
1997
+ "type": "text",
1998
+ "text": {}
1999
+ }
2000
+ },
2001
+ "required": {
2002
+ "type": "required",
2003
+ "required": {}
2004
+ }
2005
+ }
2006
+ }
2007
+ },
2008
+ "restaurant": {
2009
+ "defaultValidation": {
2010
+ "display": {
2011
+ "renderHint": {
2012
+ "type": "textInput",
2013
+ "textInput": {}
2014
+ },
2015
+ "visibility": {
2016
+ "type": "editable",
2017
+ "editable": {}
2018
+ }
2019
+ },
2020
+ "validation": {
2021
+ "allowedValues": {
2022
+ "type": "text",
2023
+ "text": {
2024
+ "type": "text",
2025
+ "text": {}
2026
+ }
2027
+ },
2028
+ "required": {
2029
+ "type": "required",
2030
+ "required": {}
2031
+ }
2032
+ }
2033
+ }
2034
+ },
2035
+ "timeMinutes": {
2036
+ "defaultValidation": {
2037
+ "display": {
2038
+ "renderHint": {
2039
+ "type": "textInput",
2040
+ "textInput": {}
2041
+ },
2042
+ "visibility": {
2043
+ "type": "editable",
2044
+ "editable": {}
2045
+ }
2046
+ },
2047
+ "validation": {
2048
+ "allowedValues": {
2049
+ "type": "text",
2050
+ "text": {
2051
+ "type": "text",
2052
+ "text": {}
2053
+ }
2054
+ },
2055
+ "required": {
2056
+ "type": "required",
2057
+ "required": {}
2058
+ }
2059
+ }
2060
+ }
2061
+ }
2062
+ }
2063
+ }
2064
+ },
2065
+ "metadata": {
2066
+ "apiName": "create-object-dc3distribution-route-analysis",
2067
+ "displayMetadata": {
2068
+ "configuration": {
2069
+ "defaultLayout": "FORM",
2070
+ "displayAndFormat": {
2071
+ "table": {
2072
+ "columnWidthByParameterRid": {},
2073
+ "enableFileImport": true,
2074
+ "fitHorizontally": false,
2075
+ "frozenColumnCount": 0,
2076
+ "rowHeightInLines": 1
2077
+ }
2078
+ },
2079
+ "enableLayoutUserSwitch": false
2080
+ },
2081
+ "description": "",
2082
+ "displayName": "Create [DC3] Distribution Route Analysis",
2083
+ "icon": {
2084
+ "type": "blueprint",
2085
+ "blueprint": {
2086
+ "locator": "edit",
2087
+ "color": "#000000"
2088
+ }
2089
+ },
2090
+ "successMessage": [],
2091
+ "typeClasses": []
2092
+ },
2093
+ "formContentOrdering": [],
2094
+ "parameterOrdering": ["primaryKey_", "distributionProposal", "restaurant", "timeMinutes"],
2095
+ "parameters": {
2096
+ "primaryKey_": {
2097
+ "id": "primaryKey_",
2098
+ "type": {
2099
+ "type": "string",
2100
+ "string": {}
2101
+ },
2102
+ "displayMetadata": {
2103
+ "displayName": "Primary Key",
2104
+ "description": "",
2105
+ "typeClasses": []
2106
+ }
2107
+ },
2108
+ "distributionProposal": {
2109
+ "id": "distributionProposal",
2110
+ "type": {
2111
+ "type": "string",
2112
+ "string": {}
2113
+ },
2114
+ "displayMetadata": {
2115
+ "displayName": "Distribution Proposal",
2116
+ "description": "",
2117
+ "typeClasses": []
2118
+ }
2119
+ },
2120
+ "restaurant": {
2121
+ "id": "restaurant",
2122
+ "type": {
2123
+ "type": "string",
2124
+ "string": {}
2125
+ },
2126
+ "displayMetadata": {
2127
+ "displayName": "Restaurant",
2128
+ "description": "",
2129
+ "typeClasses": []
2130
+ }
2131
+ },
2132
+ "timeMinutes": {
2133
+ "id": "timeMinutes",
2134
+ "type": {
2135
+ "type": "string",
2136
+ "string": {}
2137
+ },
2138
+ "displayMetadata": {
2139
+ "displayName": "Time (Minutes)",
2140
+ "description": "",
2141
+ "typeClasses": []
2142
+ }
2143
+ }
2144
+ },
2145
+ "sections": {},
2146
+ "status": {
2147
+ "type": "active",
2148
+ "active": {}
2149
+ }
2150
+ }
2151
+ }
2152
+ },
2153
+ "modify-object-dc3distribution-route-analysis": {
2154
+ "actionType": {
2155
+ "actionTypeLogic": {
2156
+ "logic": {
2157
+ "rules": [{
2158
+ "type": "modifyObjectRule",
2159
+ "modifyObjectRule": {
2160
+ "objectToModify": "objectToModifyParameter",
2161
+ "propertyValues": {
2162
+ "primaryKey_": {
2163
+ "type": "parameterId",
2164
+ "parameterId": "primaryKey_"
2165
+ },
2166
+ "distributionProposal": {
2167
+ "type": "parameterId",
2168
+ "parameterId": "distributionProposal"
2169
+ },
2170
+ "restaurant": {
2171
+ "type": "parameterId",
2172
+ "parameterId": "restaurant"
2173
+ },
2174
+ "timeMinutes": {
2175
+ "type": "parameterId",
2176
+ "parameterId": "timeMinutes"
2177
+ }
2178
+ },
2179
+ "structFieldValues": {}
2180
+ }
2181
+ }]
2182
+ },
2183
+ "validation": {
2184
+ "actionTypeLevelValidation": {
2185
+ "rules": {
2186
+ "0": {
2187
+ "condition": {
2188
+ "type": "true",
2189
+ "true": {}
2190
+ },
2191
+ "displayMetadata": {
2192
+ "failureMessage": "",
2193
+ "typeClasses": []
2194
+ }
2195
+ }
2196
+ }
2197
+ },
2198
+ "parameterValidations": {
2199
+ "objectToModifyParameter": {
2200
+ "defaultValidation": {
2201
+ "display": {
2202
+ "renderHint": {
2203
+ "type": "dropdown",
2204
+ "dropdown": {}
2205
+ },
2206
+ "visibility": {
2207
+ "type": "editable",
2208
+ "editable": {}
2209
+ }
2210
+ },
2211
+ "validation": {
2212
+ "allowedValues": {
2213
+ "type": "objectQuery",
2214
+ "objectQuery": {
2215
+ "type": "objectQuery",
2216
+ "objectQuery": {}
2217
+ }
2218
+ },
2219
+ "required": {
2220
+ "type": "required",
2221
+ "required": {}
2222
+ }
2223
+ }
2224
+ }
2225
+ },
2226
+ "primaryKey_": {
2227
+ "defaultValidation": {
2228
+ "display": {
2229
+ "renderHint": {
2230
+ "type": "textInput",
2231
+ "textInput": {}
2232
+ },
2233
+ "visibility": {
2234
+ "type": "editable",
2235
+ "editable": {}
2236
+ }
2237
+ },
2238
+ "validation": {
2239
+ "allowedValues": {
2240
+ "type": "text",
2241
+ "text": {
2242
+ "type": "text",
2243
+ "text": {}
2244
+ }
2245
+ },
2246
+ "required": {
2247
+ "type": "required",
2248
+ "required": {}
2249
+ }
2250
+ }
2251
+ }
2252
+ },
2253
+ "distributionProposal": {
2254
+ "defaultValidation": {
2255
+ "display": {
2256
+ "renderHint": {
2257
+ "type": "textInput",
2258
+ "textInput": {}
2259
+ },
2260
+ "visibility": {
2261
+ "type": "editable",
2262
+ "editable": {}
2263
+ }
2264
+ },
2265
+ "validation": {
2266
+ "allowedValues": {
2267
+ "type": "text",
2268
+ "text": {
2269
+ "type": "text",
2270
+ "text": {}
2271
+ }
2272
+ },
2273
+ "required": {
2274
+ "type": "required",
2275
+ "required": {}
2276
+ }
2277
+ }
2278
+ }
2279
+ },
2280
+ "restaurant": {
2281
+ "defaultValidation": {
2282
+ "display": {
2283
+ "renderHint": {
2284
+ "type": "textInput",
2285
+ "textInput": {}
2286
+ },
2287
+ "visibility": {
2288
+ "type": "editable",
2289
+ "editable": {}
2290
+ }
2291
+ },
2292
+ "validation": {
2293
+ "allowedValues": {
2294
+ "type": "text",
2295
+ "text": {
2296
+ "type": "text",
2297
+ "text": {}
2298
+ }
2299
+ },
2300
+ "required": {
2301
+ "type": "required",
2302
+ "required": {}
2303
+ }
2304
+ }
2305
+ }
2306
+ },
2307
+ "timeMinutes": {
2308
+ "defaultValidation": {
2309
+ "display": {
2310
+ "renderHint": {
2311
+ "type": "textInput",
2312
+ "textInput": {}
2313
+ },
2314
+ "visibility": {
2315
+ "type": "editable",
2316
+ "editable": {}
2317
+ }
2318
+ },
2319
+ "validation": {
2320
+ "allowedValues": {
2321
+ "type": "text",
2322
+ "text": {
2323
+ "type": "text",
2324
+ "text": {}
2325
+ }
2326
+ },
2327
+ "required": {
2328
+ "type": "required",
2329
+ "required": {}
2330
+ }
2331
+ }
2332
+ }
2333
+ }
2334
+ }
2335
+ }
2336
+ },
2337
+ "metadata": {
2338
+ "apiName": "modify-object-dc3distribution-route-analysis",
2339
+ "displayMetadata": {
2340
+ "configuration": {
2341
+ "defaultLayout": "FORM",
2342
+ "displayAndFormat": {
2343
+ "table": {
2344
+ "columnWidthByParameterRid": {},
2345
+ "enableFileImport": true,
2346
+ "fitHorizontally": false,
2347
+ "frozenColumnCount": 0,
2348
+ "rowHeightInLines": 1
2349
+ }
2350
+ },
2351
+ "enableLayoutUserSwitch": false
2352
+ },
2353
+ "description": "",
2354
+ "displayName": "Modify [DC3] Distribution Route Analysis",
2355
+ "icon": {
2356
+ "type": "blueprint",
2357
+ "blueprint": {
2358
+ "locator": "edit",
2359
+ "color": "#000000"
2360
+ }
2361
+ },
2362
+ "successMessage": [],
2363
+ "typeClasses": []
2364
+ },
2365
+ "formContentOrdering": [],
2366
+ "parameterOrdering": ["objectToModifyParameter", "primaryKey_", "distributionProposal", "restaurant", "timeMinutes"],
2367
+ "parameters": {
2368
+ "objectToModifyParameter": {
2369
+ "id": "objectToModifyParameter",
2370
+ "type": {
2371
+ "type": "objectReference",
2372
+ "objectReference": {
2373
+ "objectTypeId": "Dc3DistributionRouteAnalysis"
2374
+ }
2375
+ },
2376
+ "displayMetadata": {
2377
+ "displayName": "Modify object",
2378
+ "description": "",
2379
+ "typeClasses": []
2380
+ }
2381
+ },
2382
+ "primaryKey_": {
2383
+ "id": "primaryKey_",
2384
+ "type": {
2385
+ "type": "string",
2386
+ "string": {}
2387
+ },
2388
+ "displayMetadata": {
2389
+ "displayName": "Primary Key",
2390
+ "description": "",
2391
+ "typeClasses": []
2392
+ }
2393
+ },
2394
+ "distributionProposal": {
2395
+ "id": "distributionProposal",
2396
+ "type": {
2397
+ "type": "string",
2398
+ "string": {}
2399
+ },
2400
+ "displayMetadata": {
2401
+ "displayName": "Distribution Proposal",
2402
+ "description": "",
2403
+ "typeClasses": []
2404
+ }
2405
+ },
2406
+ "restaurant": {
2407
+ "id": "restaurant",
2408
+ "type": {
2409
+ "type": "string",
2410
+ "string": {}
2411
+ },
2412
+ "displayMetadata": {
2413
+ "displayName": "Restaurant",
2414
+ "description": "",
2415
+ "typeClasses": []
2416
+ }
2417
+ },
2418
+ "timeMinutes": {
2419
+ "id": "timeMinutes",
2420
+ "type": {
2421
+ "type": "string",
2422
+ "string": {}
2423
+ },
2424
+ "displayMetadata": {
2425
+ "displayName": "Time (Minutes)",
2426
+ "description": "",
2427
+ "typeClasses": []
2428
+ }
2429
+ }
2430
+ },
2431
+ "sections": {},
2432
+ "status": {
2433
+ "type": "active",
2434
+ "active": {}
2435
+ }
2436
+ }
2437
+ }
2438
+ },
2439
+ "delete-object-dc3distribution-route-analysis": {
2440
+ "actionType": {
2441
+ "actionTypeLogic": {
2442
+ "logic": {
2443
+ "rules": [{
2444
+ "type": "deleteObjectRule",
2445
+ "deleteObjectRule": {
2446
+ "objectToDelete": "objectToDeleteParameter"
2447
+ }
2448
+ }]
2449
+ },
2450
+ "validation": {
2451
+ "actionTypeLevelValidation": {
2452
+ "rules": {
2453
+ "0": {
2454
+ "condition": {
2455
+ "type": "true",
2456
+ "true": {}
2457
+ },
2458
+ "displayMetadata": {
2459
+ "failureMessage": "",
2460
+ "typeClasses": []
2461
+ }
2462
+ }
2463
+ }
2464
+ },
2465
+ "parameterValidations": {
2466
+ "objectToDeleteParameter": {
2467
+ "defaultValidation": {
2468
+ "display": {
2469
+ "renderHint": {
2470
+ "type": "dropdown",
2471
+ "dropdown": {}
2472
+ },
2473
+ "visibility": {
2474
+ "type": "editable",
2475
+ "editable": {}
2476
+ }
2477
+ },
2478
+ "validation": {
2479
+ "allowedValues": {
2480
+ "type": "objectQuery",
2481
+ "objectQuery": {
2482
+ "type": "objectQuery",
2483
+ "objectQuery": {}
2484
+ }
2485
+ },
2486
+ "required": {
2487
+ "type": "required",
2488
+ "required": {}
2489
+ }
2490
+ }
2491
+ }
2492
+ }
2493
+ }
2494
+ }
2495
+ },
2496
+ "metadata": {
2497
+ "apiName": "delete-object-dc3distribution-route-analysis",
2498
+ "displayMetadata": {
2499
+ "configuration": {
2500
+ "defaultLayout": "FORM",
2501
+ "displayAndFormat": {
2502
+ "table": {
2503
+ "columnWidthByParameterRid": {},
2504
+ "enableFileImport": true,
2505
+ "fitHorizontally": false,
2506
+ "frozenColumnCount": 0,
2507
+ "rowHeightInLines": 1
2508
+ }
2509
+ },
2510
+ "enableLayoutUserSwitch": false
2511
+ },
2512
+ "description": "",
2513
+ "displayName": "Delete [DC3] Distribution Route Analysis",
2514
+ "icon": {
2515
+ "type": "blueprint",
2516
+ "blueprint": {
2517
+ "locator": "edit",
2518
+ "color": "#000000"
2519
+ }
2520
+ },
2521
+ "successMessage": [],
2522
+ "typeClasses": []
2523
+ },
2524
+ "formContentOrdering": [],
2525
+ "parameterOrdering": ["objectToDeleteParameter"],
2526
+ "parameters": {
2527
+ "objectToDeleteParameter": {
2528
+ "id": "objectToDeleteParameter",
2529
+ "type": {
2530
+ "type": "objectReference",
2531
+ "objectReference": {
2532
+ "objectTypeId": "Dc3DistributionRouteAnalysis"
2533
+ }
2534
+ },
2535
+ "displayMetadata": {
2536
+ "displayName": "Delete object",
2537
+ "description": "",
2538
+ typeClasses: []
2539
+ }
2540
+ }
2541
+ },
2542
+ "sections": {},
2543
+ "status": {
2544
+ "type": "active",
2545
+ "active": {}
2546
+ }
2547
+ }
2548
+ }
2549
+ }
2550
+ },
2551
+ "blockPermissionInformation": {
2552
+ "actionTypes": {},
2553
+ "linkTypes": {},
2554
+ "objectTypes": {}
2555
+ }
2556
+ });
2557
+ expect(result).toMatchInlineSnapshot(`
2558
+ {
2559
+ "actionTypes": {
2560
+ "create-object-dc3distribution-center-proposal": {
2561
+ "apiName": "create-object-dc3distribution-center-proposal",
2562
+ "description": "",
2563
+ "displayName": "Create [DC3] Distribution Center Proposal",
2564
+ "operations": [
2565
+ {
2566
+ "objectTypeApiName": "Dc3DistributionCenterProposal",
2567
+ "type": "createObject",
2568
+ },
2569
+ ],
2570
+ "parameters": {
2571
+ "name": {
2572
+ "dataType": {
2573
+ "type": "string",
2574
+ },
2575
+ "description": "",
2576
+ "displayName": "Name",
2577
+ "required": true,
2578
+ },
2579
+ "price": {
2580
+ "dataType": {
2581
+ "type": "double",
2582
+ },
2583
+ "description": "",
2584
+ "displayName": "Price",
2585
+ "required": true,
2586
+ },
2587
+ "primaryKey_": {
2588
+ "dataType": {
2589
+ "type": "string",
2590
+ },
2591
+ "description": "",
2592
+ "displayName": "Primary Key",
2593
+ "required": true,
2594
+ },
2595
+ "proposedLocation": {
2596
+ "dataType": {
2597
+ "type": "geoshape",
2598
+ },
2599
+ "description": "",
2600
+ "displayName": "Proposed Location",
2601
+ "required": true,
2602
+ },
2603
+ },
2604
+ "rid": "ri.action.create-object-dc3distribution-center-proposal",
2605
+ "status": "ACTIVE",
2606
+ },
2607
+ "create-object-dc3distribution-route-analysis": {
2608
+ "apiName": "create-object-dc3distribution-route-analysis",
2609
+ "description": "",
2610
+ "displayName": "Create [DC3] Distribution Route Analysis",
2611
+ "operations": [
2612
+ {
2613
+ "objectTypeApiName": "Dc3DistributionRouteAnalysis",
2614
+ "type": "createObject",
2615
+ },
2616
+ ],
2617
+ "parameters": {
2618
+ "distributionProposal": {
2619
+ "dataType": {
2620
+ "type": "string",
2621
+ },
2622
+ "description": "",
2623
+ "displayName": "Distribution Proposal",
2624
+ "required": true,
2625
+ },
2626
+ "primaryKey_": {
2627
+ "dataType": {
2628
+ "type": "string",
2629
+ },
2630
+ "description": "",
2631
+ "displayName": "Primary Key",
2632
+ "required": true,
2633
+ },
2634
+ "restaurant": {
2635
+ "dataType": {
2636
+ "type": "string",
2637
+ },
2638
+ "description": "",
2639
+ "displayName": "Restaurant",
2640
+ "required": true,
2641
+ },
2642
+ "timeMinutes": {
2643
+ "dataType": {
2644
+ "type": "string",
2645
+ },
2646
+ "description": "",
2647
+ "displayName": "Time (Minutes)",
2648
+ "required": true,
2649
+ },
2650
+ },
2651
+ "rid": "ri.action.create-object-dc3distribution-route-analysis",
2652
+ "status": "ACTIVE",
2653
+ },
2654
+ "create-object-dc3restaurant": {
2655
+ "apiName": "create-object-dc3restaurant",
2656
+ "description": "",
2657
+ "displayName": "Create [DC3] Restaurant",
2658
+ "operations": [
2659
+ {
2660
+ "objectTypeApiName": "Dc3Restaurant",
2661
+ "type": "createObject",
2662
+ },
2663
+ ],
2664
+ "parameters": {
2665
+ "location": {
2666
+ "dataType": {
2667
+ "type": "geoshape",
2668
+ },
2669
+ "description": "",
2670
+ "displayName": "Location",
2671
+ "required": true,
2672
+ },
2673
+ "name": {
2674
+ "dataType": {
2675
+ "type": "string",
2676
+ },
2677
+ "description": "",
2678
+ "displayName": "Name",
2679
+ "required": true,
2680
+ },
2681
+ "primaryKey_": {
2682
+ "dataType": {
2683
+ "type": "string",
2684
+ },
2685
+ "description": "",
2686
+ "displayName": "Primary Key",
2687
+ "required": true,
2688
+ },
2689
+ "rating": {
2690
+ "dataType": {
2691
+ "type": "integer",
2692
+ },
2693
+ "description": "",
2694
+ "displayName": "Rating",
2695
+ "required": true,
2696
+ },
2697
+ },
2698
+ "rid": "ri.action.create-object-dc3restaurant",
2699
+ "status": "ACTIVE",
2700
+ },
2701
+ "delete-object-dc3distribution-center-proposal": {
2702
+ "apiName": "delete-object-dc3distribution-center-proposal",
2703
+ "description": "",
2704
+ "displayName": "Delete [DC3] Distribution Center Proposal",
2705
+ "operations": [
2706
+ {
2707
+ "objectTypeApiName": "objectToDeleteParameter",
2708
+ "type": "deleteObject",
2709
+ },
2710
+ ],
2711
+ "parameters": {
2712
+ "objectToDeleteParameter": {
2713
+ "dataType": {
2714
+ "objectApiName": "Dc3DistributionCenterProposal",
2715
+ "objectTypeApiName": "Dc3DistributionCenterProposal",
2716
+ "type": "object",
2717
+ },
2718
+ "description": "",
2719
+ "displayName": "Delete object",
2720
+ "required": true,
2721
+ },
2722
+ },
2723
+ "rid": "ri.action.delete-object-dc3distribution-center-proposal",
2724
+ "status": "ACTIVE",
2725
+ },
2726
+ "delete-object-dc3distribution-route-analysis": {
2727
+ "apiName": "delete-object-dc3distribution-route-analysis",
2728
+ "description": "",
2729
+ "displayName": "Delete [DC3] Distribution Route Analysis",
2730
+ "operations": [
2731
+ {
2732
+ "objectTypeApiName": "objectToDeleteParameter",
2733
+ "type": "deleteObject",
2734
+ },
2735
+ ],
2736
+ "parameters": {
2737
+ "objectToDeleteParameter": {
2738
+ "dataType": {
2739
+ "objectApiName": "Dc3DistributionRouteAnalysis",
2740
+ "objectTypeApiName": "Dc3DistributionRouteAnalysis",
2741
+ "type": "object",
2742
+ },
2743
+ "description": "",
2744
+ "displayName": "Delete object",
2745
+ "required": true,
2746
+ },
2747
+ },
2748
+ "rid": "ri.action.delete-object-dc3distribution-route-analysis",
2749
+ "status": "ACTIVE",
2750
+ },
2751
+ "delete-object-dc3restaurant": {
2752
+ "apiName": "delete-object-dc3restaurant",
2753
+ "description": "",
2754
+ "displayName": "Delete [DC3] Restaurant",
2755
+ "operations": [
2756
+ {
2757
+ "objectTypeApiName": "objectToDeleteParameter",
2758
+ "type": "deleteObject",
2759
+ },
2760
+ ],
2761
+ "parameters": {
2762
+ "objectToDeleteParameter": {
2763
+ "dataType": {
2764
+ "objectApiName": "Dc3Restaurant",
2765
+ "objectTypeApiName": "Dc3Restaurant",
2766
+ "type": "object",
2767
+ },
2768
+ "description": "",
2769
+ "displayName": "Delete object",
2770
+ "required": true,
2771
+ },
2772
+ },
2773
+ "rid": "ri.action.delete-object-dc3restaurant",
2774
+ "status": "ACTIVE",
2775
+ },
2776
+ "modify-object-dc3distribution-center-proposal": {
2777
+ "apiName": "modify-object-dc3distribution-center-proposal",
2778
+ "description": "",
2779
+ "displayName": "Modify [DC3] Distribution Center Proposal",
2780
+ "operations": [
2781
+ {
2782
+ "objectTypeApiName": "objectToModifyParameter",
2783
+ "type": "modifyObject",
2784
+ },
2785
+ ],
2786
+ "parameters": {
2787
+ "name": {
2788
+ "dataType": {
2789
+ "type": "string",
2790
+ },
2791
+ "description": "",
2792
+ "displayName": "Name",
2793
+ "required": true,
2794
+ },
2795
+ "objectToModifyParameter": {
2796
+ "dataType": {
2797
+ "objectApiName": "Dc3DistributionCenterProposal",
2798
+ "objectTypeApiName": "Dc3DistributionCenterProposal",
2799
+ "type": "object",
2800
+ },
2801
+ "description": "",
2802
+ "displayName": "Modify object",
2803
+ "required": true,
2804
+ },
2805
+ "price": {
2806
+ "dataType": {
2807
+ "type": "double",
2808
+ },
2809
+ "description": "",
2810
+ "displayName": "Price",
2811
+ "required": true,
2812
+ },
2813
+ "primaryKey_": {
2814
+ "dataType": {
2815
+ "type": "string",
2816
+ },
2817
+ "description": "",
2818
+ "displayName": "Primary Key",
2819
+ "required": true,
2820
+ },
2821
+ "proposedLocation": {
2822
+ "dataType": {
2823
+ "type": "geoshape",
2824
+ },
2825
+ "description": "",
2826
+ "displayName": "Proposed Location",
2827
+ "required": true,
2828
+ },
2829
+ },
2830
+ "rid": "ri.action.modify-object-dc3distribution-center-proposal",
2831
+ "status": "ACTIVE",
2832
+ },
2833
+ "modify-object-dc3distribution-route-analysis": {
2834
+ "apiName": "modify-object-dc3distribution-route-analysis",
2835
+ "description": "",
2836
+ "displayName": "Modify [DC3] Distribution Route Analysis",
2837
+ "operations": [
2838
+ {
2839
+ "objectTypeApiName": "objectToModifyParameter",
2840
+ "type": "modifyObject",
2841
+ },
2842
+ ],
2843
+ "parameters": {
2844
+ "distributionProposal": {
2845
+ "dataType": {
2846
+ "type": "string",
2847
+ },
2848
+ "description": "",
2849
+ "displayName": "Distribution Proposal",
2850
+ "required": true,
2851
+ },
2852
+ "objectToModifyParameter": {
2853
+ "dataType": {
2854
+ "objectApiName": "Dc3DistributionRouteAnalysis",
2855
+ "objectTypeApiName": "Dc3DistributionRouteAnalysis",
2856
+ "type": "object",
2857
+ },
2858
+ "description": "",
2859
+ "displayName": "Modify object",
2860
+ "required": true,
2861
+ },
2862
+ "primaryKey_": {
2863
+ "dataType": {
2864
+ "type": "string",
2865
+ },
2866
+ "description": "",
2867
+ "displayName": "Primary Key",
2868
+ "required": true,
2869
+ },
2870
+ "restaurant": {
2871
+ "dataType": {
2872
+ "type": "string",
2873
+ },
2874
+ "description": "",
2875
+ "displayName": "Restaurant",
2876
+ "required": true,
2877
+ },
2878
+ "timeMinutes": {
2879
+ "dataType": {
2880
+ "type": "string",
2881
+ },
2882
+ "description": "",
2883
+ "displayName": "Time (Minutes)",
2884
+ "required": true,
2885
+ },
2886
+ },
2887
+ "rid": "ri.action.modify-object-dc3distribution-route-analysis",
2888
+ "status": "ACTIVE",
2889
+ },
2890
+ "modify-object-dc3restaurant": {
2891
+ "apiName": "modify-object-dc3restaurant",
2892
+ "description": "",
2893
+ "displayName": "Modify [DC3] Restaurant",
2894
+ "operations": [
2895
+ {
2896
+ "objectTypeApiName": "objectToModifyParameter",
2897
+ "type": "modifyObject",
2898
+ },
2899
+ ],
2900
+ "parameters": {
2901
+ "location": {
2902
+ "dataType": {
2903
+ "type": "geoshape",
2904
+ },
2905
+ "description": "",
2906
+ "displayName": "Location",
2907
+ "required": true,
2908
+ },
2909
+ "name": {
2910
+ "dataType": {
2911
+ "type": "string",
2912
+ },
2913
+ "description": "",
2914
+ "displayName": "Name",
2915
+ "required": true,
2916
+ },
2917
+ "objectToModifyParameter": {
2918
+ "dataType": {
2919
+ "objectApiName": "Dc3Restaurant",
2920
+ "objectTypeApiName": "Dc3Restaurant",
2921
+ "type": "object",
2922
+ },
2923
+ "description": "",
2924
+ "displayName": "Modify object",
2925
+ "required": true,
2926
+ },
2927
+ "primaryKey_": {
2928
+ "dataType": {
2929
+ "type": "string",
2930
+ },
2931
+ "description": "",
2932
+ "displayName": "Primary Key",
2933
+ "required": true,
2934
+ },
2935
+ "rating": {
2936
+ "dataType": {
2937
+ "type": "integer",
2938
+ },
2939
+ "description": "",
2940
+ "displayName": "Rating",
2941
+ "required": true,
2942
+ },
2943
+ },
2944
+ "rid": "ri.action.modify-object-dc3restaurant",
2945
+ "status": "ACTIVE",
2946
+ },
2947
+ },
2948
+ "interfaceTypes": {},
2949
+ "objectTypes": {
2950
+ "Dc3DistributionCenterProposal": {
2951
+ "implementsInterfaces": [],
2952
+ "implementsInterfaces2": {},
2953
+ "linkTypes": [
2954
+ {
2955
+ "apiName": "Dc3DistributionCenterProposalToDistributionRoute",
2956
+ "cardinality": "ONE",
2957
+ "displayName": "Dc3DistributionCenterProposalToDistributionRoute",
2958
+ "linkTypeRid": "ri.Dc3DistributionCenterProposal.Dc3DistributionCenterProposalToDistributionRoute.Dc3DistributionRouteAnalysis",
2959
+ "objectTypeApiName": "Dc3DistributionCenterProposal",
2960
+ "status": "ACTIVE",
2961
+ },
2962
+ ],
2963
+ "objectType": {
2964
+ "apiName": "Dc3DistributionCenterProposal",
2965
+ "description": undefined,
2966
+ "displayName": "[DC3] Distribution Center Proposal",
2967
+ "icon": {
2968
+ "color": "#2D72D2",
2969
+ "name": "cube",
2970
+ "type": "blueprint",
2971
+ },
2972
+ "pluralDisplayName": "",
2973
+ "primaryKey": "primaryKey_",
2974
+ "properties": {
2975
+ "name": {
2976
+ "dataType": {
2977
+ "type": "string",
2978
+ },
2979
+ "description": undefined,
2980
+ "displayName": "Name",
2981
+ "rid": "ri.Dc3DistributionCenterProposal.name",
2982
+ "status": {
2983
+ "type": "active",
2984
+ },
2985
+ "visibility": "NORMAL",
2986
+ },
2987
+ "price": {
2988
+ "dataType": {
2989
+ "type": "float",
2990
+ },
2991
+ "description": "The price of the distribution center proposal in USD",
2992
+ "displayName": "Price",
2993
+ "rid": "ri.Dc3DistributionCenterProposal.price",
2994
+ "status": {
2995
+ "type": "active",
2996
+ },
2997
+ "visibility": "NORMAL",
2998
+ },
2999
+ "primaryKey_": {
3000
+ "dataType": {
3001
+ "type": "string",
3002
+ },
3003
+ "description": undefined,
3004
+ "displayName": "Primary Key",
3005
+ "rid": "ri.Dc3DistributionCenterProposal.primaryKey_",
3006
+ "status": {
3007
+ "type": "active",
3008
+ },
3009
+ "visibility": "NORMAL",
3010
+ },
3011
+ "proposedLocation": {
3012
+ "dataType": {
3013
+ "type": "geopoint",
3014
+ },
3015
+ "description": undefined,
3016
+ "displayName": "Proposed Location",
3017
+ "rid": "ri.Dc3DistributionCenterProposal.proposedLocation",
3018
+ "status": {
3019
+ "type": "active",
3020
+ },
3021
+ "visibility": "NORMAL",
3022
+ },
3023
+ },
3024
+ "rid": "ri.Dc3DistributionCenterProposal",
3025
+ "status": "ACTIVE",
3026
+ "titleProperty": "name",
3027
+ },
3028
+ "sharedPropertyTypeMapping": {},
3029
+ },
3030
+ "Dc3DistributionRouteAnalysis": {
3031
+ "implementsInterfaces": [],
3032
+ "implementsInterfaces2": {},
3033
+ "linkTypes": [
3034
+ {
3035
+ "apiName": "Dc3RestaurantToDistributionRoute",
3036
+ "cardinality": "MANY",
3037
+ "displayName": "Dc3RestaurantToDistributionRoute",
3038
+ "linkTypeRid": "ri.Dc3Restaurant.Dc3RestaurantToDistributionRoute.Dc3DistributionRouteAnalysis",
3039
+ "objectTypeApiName": "Dc3DistributionRouteAnalysis",
3040
+ "status": "ACTIVE",
3041
+ },
3042
+ {
3043
+ "apiName": "Dc3DistributionCenterProposalToDistributionRoute",
3044
+ "cardinality": "MANY",
3045
+ "displayName": "Dc3DistributionCenterProposalToDistributionRoute",
3046
+ "linkTypeRid": "ri.Dc3DistributionCenterProposal.Dc3DistributionCenterProposalToDistributionRoute.Dc3DistributionRouteAnalysis",
3047
+ "objectTypeApiName": "Dc3DistributionRouteAnalysis",
3048
+ "status": "ACTIVE",
3049
+ },
3050
+ ],
3051
+ "objectType": {
3052
+ "apiName": "Dc3DistributionRouteAnalysis",
3053
+ "description": undefined,
3054
+ "displayName": "[DC3] Distribution Route Analysis",
3055
+ "icon": {
3056
+ "color": "#2D72D2",
3057
+ "name": "cube",
3058
+ "type": "blueprint",
3059
+ },
3060
+ "pluralDisplayName": "",
3061
+ "primaryKey": "primaryKey_",
3062
+ "properties": {
3063
+ "distributionProposal": {
3064
+ "dataType": {
3065
+ "type": "string",
3066
+ },
3067
+ "description": undefined,
3068
+ "displayName": "Distribution Proposal",
3069
+ "rid": "ri.Dc3DistributionRouteAnalysis.distributionProposal",
3070
+ "status": {
3071
+ "type": "active",
3072
+ },
3073
+ "visibility": "NORMAL",
3074
+ },
3075
+ "primaryKey_": {
3076
+ "dataType": {
3077
+ "type": "string",
3078
+ },
3079
+ "description": undefined,
3080
+ "displayName": "Primary Key",
3081
+ "rid": "ri.Dc3DistributionRouteAnalysis.primaryKey_",
3082
+ "status": {
3083
+ "type": "active",
3084
+ },
3085
+ "visibility": "NORMAL",
3086
+ },
3087
+ "restaurant": {
3088
+ "dataType": {
3089
+ "type": "string",
3090
+ },
3091
+ "description": undefined,
3092
+ "displayName": "Restaurant",
3093
+ "rid": "ri.Dc3DistributionRouteAnalysis.restaurant",
3094
+ "status": {
3095
+ "type": "active",
3096
+ },
3097
+ "visibility": "NORMAL",
3098
+ },
3099
+ "timeMinutes": {
3100
+ "dataType": {
3101
+ "type": "string",
3102
+ },
3103
+ "description": undefined,
3104
+ "displayName": "Time (Minutes)",
3105
+ "rid": "ri.Dc3DistributionRouteAnalysis.timeMinutes",
3106
+ "status": {
3107
+ "type": "active",
3108
+ },
3109
+ "visibility": "NORMAL",
3110
+ },
3111
+ },
3112
+ "rid": "ri.Dc3DistributionRouteAnalysis",
3113
+ "status": "ACTIVE",
3114
+ "titleProperty": "primaryKey_",
3115
+ },
3116
+ "sharedPropertyTypeMapping": {},
3117
+ },
3118
+ "Dc3Restaurant": {
3119
+ "implementsInterfaces": [],
3120
+ "implementsInterfaces2": {},
3121
+ "linkTypes": [
3122
+ {
3123
+ "apiName": "Dc3RestaurantToDistributionRoute",
3124
+ "cardinality": "ONE",
3125
+ "displayName": "Dc3RestaurantToDistributionRoute",
3126
+ "linkTypeRid": "ri.Dc3Restaurant.Dc3RestaurantToDistributionRoute.Dc3DistributionRouteAnalysis",
3127
+ "objectTypeApiName": "Dc3Restaurant",
3128
+ "status": "ACTIVE",
3129
+ },
3130
+ ],
3131
+ "objectType": {
3132
+ "apiName": "Dc3Restaurant",
3133
+ "description": undefined,
3134
+ "displayName": "[DC3] Restaurant",
3135
+ "icon": {
3136
+ "color": "#2D72D2",
3137
+ "name": "cube",
3138
+ "type": "blueprint",
3139
+ },
3140
+ "pluralDisplayName": "",
3141
+ "primaryKey": "primaryKey_",
3142
+ "properties": {
3143
+ "location": {
3144
+ "dataType": {
3145
+ "type": "geopoint",
3146
+ },
3147
+ "description": undefined,
3148
+ "displayName": "Location",
3149
+ "rid": "ri.Dc3Restaurant.location",
3150
+ "status": {
3151
+ "type": "active",
3152
+ },
3153
+ "visibility": "NORMAL",
3154
+ },
3155
+ "name": {
3156
+ "dataType": {
3157
+ "type": "string",
3158
+ },
3159
+ "description": undefined,
3160
+ "displayName": "Name",
3161
+ "rid": "ri.Dc3Restaurant.name",
3162
+ "status": {
3163
+ "type": "active",
3164
+ },
3165
+ "visibility": "NORMAL",
3166
+ },
3167
+ "primaryKey_": {
3168
+ "dataType": {
3169
+ "type": "string",
3170
+ },
3171
+ "description": undefined,
3172
+ "displayName": "Primary Key",
3173
+ "rid": "ri.Dc3Restaurant.primaryKey_",
3174
+ "status": {
3175
+ "type": "active",
3176
+ },
3177
+ "visibility": "NORMAL",
3178
+ },
3179
+ "rating": {
3180
+ "dataType": {
3181
+ "type": "integer",
3182
+ },
3183
+ "description": undefined,
3184
+ "displayName": "Rating",
3185
+ "rid": "ri.Dc3Restaurant.rating",
3186
+ "status": {
3187
+ "type": "active",
3188
+ },
3189
+ "visibility": "NORMAL",
3190
+ },
3191
+ },
3192
+ "rid": "ri.Dc3Restaurant",
3193
+ "status": "ACTIVE",
3194
+ "titleProperty": "name",
3195
+ },
3196
+ "sharedPropertyTypeMapping": {},
3197
+ },
3198
+ },
3199
+ "ontology": {
3200
+ "apiName": "ontology",
3201
+ "description": "",
3202
+ "displayName": "ontology",
3203
+ "rid": "ri.00000",
3204
+ },
3205
+ "queryTypes": {},
3206
+ "sharedPropertyTypes": {},
3207
+ }
3208
+ `);
3209
+ });
3210
+ });
3211
+ //# sourceMappingURL=OntologyIrToFullMetadaConvert.test.js.map