There are some checks in the process of validation of the metadata which missed and should be added:
Check that the list of 'columns' for each key isn't empty
Check that the 'table' and 'columns' sections aren't empty in the section 'references.columns' of the appropriate foreign key
Check that the length of the list of columns in the section 'columns' and 'references.columns' is the same
Check that the columns mentioned in the section 'columns', 'references.columns' exist in the source table
There are some checks in the process of validation of the metadata which missed and should be added:
Check that the list of 'columns' for each key isn't empty Check that the 'table' and 'columns' sections aren't empty in the section 'references.columns' of the appropriate foreign key Check that the length of the list of columns in the section 'columns' and 'references.columns' is the same Check that the columns mentioned in the section 'columns', 'references.columns' exist in the source table