diff --git a/properties_pane/field_level/fieldLevelConfig.json b/properties_pane/field_level/fieldLevelConfig.json index b9a7220..f285fe4 100644 --- a/properties_pane/field_level/fieldLevelConfig.json +++ b/properties_pane/field_level/fieldLevelConfig.json @@ -2731,398 +2731,8 @@ making sure that you maintain a proper JSON format. ] } }, - { - "propertyName": "Primary key", - "propertyKeyword": "compositePrimaryKey", - "propertyType": "checkbox", - "propertyTooltip": { - "disabled": [ - { - "tooltip": "This column is part of the table composite primary key definition. Please refer to this definition if you want more information or to update the Primary Key definition", - "dependency": { - "key": "compositePrimaryKey", - "value": true - } - }, - { - "tooltip": "Remove the existing composite primary key definition prior to unlock the possibility to mark this single column as the new primary key for this table", - "dependency": { - "level": "siblings", - "key": "compositePrimaryKey", - "value": true - } - }, - { - "tooltip": "Another column has already been selected as primary key. You must unselect it prior to either selecting this column, or creating a compound primary key.", - "dependency": { - "level": "siblings", - "key": "primaryKey", - "value": true - } - } - ] - }, - "dependency": { - "type": "and", - "values": [ - { - "type": "or", - "values": [ - { - "key": "compositePrimaryKey", - "value": true - }, - { - "level": "siblings", - "key": "compositePrimaryKey", - "value": true - }, - { - "level": "siblings", - "value": { - "type": "and", - "values": [ - { - "key": "primaryKey", - "value": true - }, - { - "type": "or", - "values": [ - { - "key": "compositeUniqueKey", - "value": false - }, - { - "key": "compositeUniqueKey", - "exist": false - } - ] - } - ] - } - } - ] - } - ] - }, - "disabled": true - }, - { - "propertyName": "Primary key", - "propertyKeyword": "primaryKey", - "propertyType": "checkbox", - "dependency": { - "type": "and", - "values": [ - { - "type": "not", - "values": { - "level": "siblings", - "key": "compositePrimaryKey", - "value": true - } - }, - { - "type": "not", - "values": [ - { - "level": "siblings", - "value": { - "type": "and", - "values": [ - { - "key": "primaryKey", - "value": true - }, - { - "type": "or", - "values": [ - { - "key": "compositeUniqueKey", - "value": false - }, - { - "key": "compositeUniqueKey", - "exist": false - } - ] - } - ] - } - } - ] - }, - { - "type": "and", - "values": [ - { - "type": "or", - "values": [ - { - "key": "compositePrimaryKey", - "value": false - }, - { - "key": "compositePrimaryKey", - "exist": false - } - ] - }, - { - "type": "or", - "values": [ - { - "key": "compositeUniqueKey", - "value": false - }, - { - "key": "compositeUniqueKey", - "exist": false - } - ] - } - ] - } - ] - }, - "disabledOnCondition": { - "type": "and", - "values": [ - { - "type": "not", - "values": { - "level": "parent", - "key": "type", - "value": "object" - } - } - ] - } - }, - { - "propertyName": "Primary key options", - "propertyType": "block", - "propertyKeyword": "primaryKeyOptions", - "enableForReference": true, - "propertyTooltip": "Primary key options", - "dependency": { - "type": "and", - "values": [ - { - "key": "primaryKey", - "value": true - }, - { - "type": "or", - "values": [ - { - "key": "compositePrimaryKey", - "value": false - }, - { - "key": "compositePrimaryKey", - "exist": false - } - ] - }, - { - "type": "or", - "values": [ - { - "key": "compositeUniqueKey", - "value": false - }, - { - "key": "compositeUniqueKey", - "exist": false - } - ] - } - ] - }, - "structure": [ - { - "propertyName": "Constraint name", - "propertyKeyword": "constraintName", - "propertyType": "text" - }, - { - "propertyName": "Defer clause", - "propertyKeyword": "deferClause", - "propertyType": "details", - "template": "textarea", - "markdown": false - }, - { - "propertyName": "Rely option", - "propertyKeyword": "rely", - "propertyType": "select", - "options": ["", "RELY", "NORELY"] - }, - { - "propertyName": "Validate option", - "propertyKeyword": "validate", - "propertyType": "select", - "options": ["", "VALIDATE", "NOVALIDATE"] - }, - { - "propertyName": "Index clause", - "propertyKeyword": "indexClause", - "propertyType": "details", - "template": "textarea", - "markdown": false - }, - { - "propertyName": "Exception clause", - "propertyKeyword": "exceptionClause", - "propertyType": "details", - "template": "textarea", - "markdown": false - } - ] - }, - { - "propertyName": "Unique", - "propertyKeyword": "compositeUniqueKey", - "propertyType": "checkbox", - "dependency": { - "type": "and", - "values": [ - { - "key": "compositeUniqueKey", - "value": true - } - ] - }, - "disabled": true - }, - { - "propertyName": "Unique", - "propertyKeyword": "unique", - "enableForReference": true, - "propertyType": "checkbox", - "dependency": { - "type": "and", - "values": [ - { - "type": "or", - "values": [ - { - "key": "compositePrimaryKey", - "value": false - }, - { - "key": "compositePrimaryKey", - "exist": false - } - ] - }, - { - "type": "or", - "values": [ - { - "key": "compositeUniqueKey", - "value": false - }, - { - "key": "compositeUniqueKey", - "exist": false - } - ] - } - ] - } - }, - { - "propertyName": "Unique key options", - "propertyType": "block", - "propertyKeyword": "uniqueKeyOptions", - "enableForReference": true, - "propertyTooltip": "Unique key options", - "dependency": { - "type": "and", - "values": [ - { - "key": "unique", - "value": true - }, - { - "type": "or", - "values": [ - { - "key": "compositePrimaryKey", - "value": false - }, - { - "key": "compositePrimaryKey", - "exist": false - } - ] - }, - { - "type": "or", - "values": [ - { - "key": "compositeUniqueKey", - "value": false - }, - { - "key": "compositeUniqueKey", - "exist": false - } - ] - } - ] - }, - "structure": [ - { - "propertyName": "Constraint name", - "propertyKeyword": "constraintName", - "propertyType": "text" - }, - { - "propertyName": "Defer clause", - "propertyKeyword": "deferClause", - "propertyType": "details", - "template": "textarea", - "markdown": false - }, - { - "propertyName": "Rely option", - "propertyKeyword": "rely", - "propertyType": "select", - "options": ["", "RELY", "NORELY"] - }, - { - "propertyName": "Validate option", - "propertyKeyword": "validate", - "propertyType": "select", - "options": ["", "VALIDATE", "NOVALIDATE"] - }, - { - "propertyName": "Index clause", - "propertyKeyword": "indexClause", - "propertyType": "details", - "template": "textarea", - "markdown": false - }, - { - "propertyName": "Exception clause", - "propertyKeyword": "exceptionClause", - "propertyType": "details", - "template": "textarea", - "markdown": false - } - ] - }, - "foreignCollection", - "foreignField", - "relationshipType", - "relationshipName", - "cardinality", - "minLength", - "maxLength", + "minItems", + "maxItems", "pattern", "format", "enum",