|
2 | 2 | * Copyright © 2016-2019 by IntegrIT S.A. dba Hackolade. All rights reserved. |
3 | 3 | * |
4 | 4 | * The copyright to the computer software herein is the property of IntegrIT S.A. |
5 | | -* The software may be used and/or copied only with the written permission of |
6 | | -* IntegrIT S.A. or in accordance with the terms and conditions stipulated in |
7 | | -* the agreement/contract under which the software has been supplied. |
| 5 | +* The software may be used and/or copied only with the written permission of |
| 6 | +* IntegrIT S.A. or in accordance with the terms and conditions stipulated in |
| 7 | +* the agreement/contract under which the software has been supplied. |
8 | 8 |
|
9 | 9 |
|
10 | 10 | In order to define custom properties for any object's properties pane, you may copy/paste from the following, |
@@ -71,8 +71,8 @@ making sure that you maintain a proper JSON format. |
71 | 71 | ] |
72 | 72 | }, |
73 | 73 | // “groupInput” can have the following states - 0 items, 1 item, and many items. |
74 | | -// “blockInput” has only 2 states - 0 items or 1 item. |
75 | | -// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing |
| 74 | +// “blockInput” has only 2 states - 0 items or 1 item. |
| 75 | +// This gives us an easy way to represent it as an object and not as an array internally which is beneficial for processing |
76 | 76 | // and forward-engineering in particular. |
77 | 77 | { |
78 | 78 | "propertyName": "Block", |
@@ -100,7 +100,7 @@ making sure that you maintain a proper JSON format. |
100 | 100 | "propertyKeyword": "keyList", |
101 | 101 | "propertyType": "fieldList", |
102 | 102 | "template": "orderedList" |
103 | | - }, |
| 103 | + }, |
104 | 104 | { |
105 | 105 | "propertyName": "List with attribute", |
106 | 106 | "propertyKeyword": "keyListOrder", |
@@ -143,8 +143,17 @@ making sure that you maintain a proper JSON format. |
143 | 143 | "type": "and", |
144 | 144 | "values": [ |
145 | 145 | { |
146 | | - "key": "required", |
147 | | - "value": false |
| 146 | + "type": "or", |
| 147 | + "values": [ |
| 148 | + { |
| 149 | + "key": "required", |
| 150 | + "value": false |
| 151 | + }, |
| 152 | + { |
| 153 | + "key": "required", |
| 154 | + "exist": false |
| 155 | + } |
| 156 | + ] |
148 | 157 | }, |
149 | 158 | { |
150 | 159 | "type": "not", |
@@ -515,8 +524,17 @@ making sure that you maintain a proper JSON format. |
515 | 524 | "type": "and", |
516 | 525 | "values": [ |
517 | 526 | { |
518 | | - "key": "required", |
519 | | - "value": false |
| 527 | + "type": "or", |
| 528 | + "values": [ |
| 529 | + { |
| 530 | + "key": "required", |
| 531 | + "value": false |
| 532 | + }, |
| 533 | + { |
| 534 | + "key": "required", |
| 535 | + "exist": false |
| 536 | + } |
| 537 | + ] |
520 | 538 | }, |
521 | 539 | { |
522 | 540 | "type": "not", |
@@ -657,8 +675,17 @@ making sure that you maintain a proper JSON format. |
657 | 675 | "type": "and", |
658 | 676 | "values": [ |
659 | 677 | { |
660 | | - "key": "required", |
661 | | - "value": false |
| 678 | + "type": "or", |
| 679 | + "values": [ |
| 680 | + { |
| 681 | + "key": "required", |
| 682 | + "value": false |
| 683 | + }, |
| 684 | + { |
| 685 | + "key": "required", |
| 686 | + "exist": false |
| 687 | + } |
| 688 | + ] |
662 | 689 | }, |
663 | 690 | { |
664 | 691 | "type": "not", |
@@ -788,8 +815,17 @@ making sure that you maintain a proper JSON format. |
788 | 815 | "type": "and", |
789 | 816 | "values": [ |
790 | 817 | { |
791 | | - "key": "required", |
792 | | - "value": false |
| 818 | + "type": "or", |
| 819 | + "values": [ |
| 820 | + { |
| 821 | + "key": "required", |
| 822 | + "value": false |
| 823 | + }, |
| 824 | + { |
| 825 | + "key": "required", |
| 826 | + "exist": false |
| 827 | + } |
| 828 | + ] |
793 | 829 | }, |
794 | 830 | { |
795 | 831 | "type": "not", |
@@ -874,8 +910,17 @@ making sure that you maintain a proper JSON format. |
874 | 910 | "type": "and", |
875 | 911 | "values": [ |
876 | 912 | { |
877 | | - "key": "required", |
878 | | - "value": false |
| 913 | + "type": "or", |
| 914 | + "values": [ |
| 915 | + { |
| 916 | + "key": "required", |
| 917 | + "value": false |
| 918 | + }, |
| 919 | + { |
| 920 | + "key": "required", |
| 921 | + "exist": false |
| 922 | + } |
| 923 | + ] |
879 | 924 | }, |
880 | 925 | { |
881 | 926 | "type": "not", |
@@ -1015,8 +1060,17 @@ making sure that you maintain a proper JSON format. |
1015 | 1060 | "type": "and", |
1016 | 1061 | "values": [ |
1017 | 1062 | { |
1018 | | - "key": "required", |
1019 | | - "value": false |
| 1063 | + "type": "or", |
| 1064 | + "values": [ |
| 1065 | + { |
| 1066 | + "key": "required", |
| 1067 | + "value": false |
| 1068 | + }, |
| 1069 | + { |
| 1070 | + "key": "required", |
| 1071 | + "exist": false |
| 1072 | + } |
| 1073 | + ] |
1020 | 1074 | }, |
1021 | 1075 | { |
1022 | 1076 | "type": "not", |
@@ -1161,8 +1215,17 @@ making sure that you maintain a proper JSON format. |
1161 | 1215 | "type": "and", |
1162 | 1216 | "values": [ |
1163 | 1217 | { |
1164 | | - "key": "required", |
1165 | | - "value": false |
| 1218 | + "type": "or", |
| 1219 | + "values": [ |
| 1220 | + { |
| 1221 | + "key": "required", |
| 1222 | + "value": false |
| 1223 | + }, |
| 1224 | + { |
| 1225 | + "key": "required", |
| 1226 | + "exist": false |
| 1227 | + } |
| 1228 | + ] |
1166 | 1229 | }, |
1167 | 1230 | { |
1168 | 1231 | "type": "not", |
@@ -1283,8 +1346,17 @@ making sure that you maintain a proper JSON format. |
1283 | 1346 | "type": "and", |
1284 | 1347 | "values": [ |
1285 | 1348 | { |
1286 | | - "key": "required", |
1287 | | - "value": false |
| 1349 | + "type": "or", |
| 1350 | + "values": [ |
| 1351 | + { |
| 1352 | + "key": "required", |
| 1353 | + "value": false |
| 1354 | + }, |
| 1355 | + { |
| 1356 | + "key": "required", |
| 1357 | + "exist": false |
| 1358 | + } |
| 1359 | + ] |
1288 | 1360 | }, |
1289 | 1361 | { |
1290 | 1362 | "type": "not", |
|
0 commit comments