Allowable JSON keys for SQL schema objects

SQL schema objects are java objects which represent either a table or a view in the database.

Key NameTablesViewsNotes
namemandatorymandatoryBoth tables and views MUST have a name
fieldsmandatorymandatoryTables and views must have fields defined. In the case of a view each field MUST match to the fields referenced in the asClause
findersoptionaloptionalBy default the some finders are automatically generated, e.g. findByPrimaryKey and findAll
fieldFindersoptionaloptionalField finders are a short-cut to quick generations
deletersoptionalinvalidViews are not able to perform delete statements
insertersoptionalinvalidViews are not able to perform insert statements
updatersoptionalinvalidViews are not able to perform update statements
fieldUpdatersoptionalinvalidViews are not able to perform update statements
questionsoptionaloptionalThis ALWAYS returns a single boolean answer
countersoptionaloptionalThis ALWAYS returns a single integer answer
constantsoptionalinvalidYou cannot create a constant view.