diff --git a/schema/index.html b/schema/index.html index d41c6a72a3..66abc6c0a7 100644 --- a/schema/index.html +++ b/schema/index.html @@ -49,7 +49,7 @@

SchemaSpy Analysis of default

-

Generated on Mon Oct 28 20:46 GMT 2024

+

Generated on Tue Oct 29 02:22 GMT 2024

diff --git a/schema/nrfc/columns.html b/schema/nrfc/columns.html index d60cca0be3..5ee360eb76 100644 --- a/schema/nrfc/columns.html +++ b/schema/nrfc/columns.html @@ -116,13 +116,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_type_code", @@ -130,13 +130,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_location", @@ -144,13 +144,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "secondary_phone_number", + "name": "business_phone_number", "type": "varchar", "length": 14, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A secondary phone number of a client’s specific location.<\/p>" + "comments": "

The phone number of a client’s specific location.<\/p>" }, { "tableName": "submission", @@ -158,83 +158,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "street_address", "type": "varchar", - "length": 2, + "length": 40, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a country.<\/p>" + "comments": "

The address of a client, including the street number and street name.<\/p>" }, { "tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "description", "type": "varchar", - "length": 2, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the country to which the ID type belongs. If the country code is populated, a province or state will be required.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { - "tableName": "submission_status_code", - "tableFileName": "submission_status_code", + "tableName": "submission_contact", + "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_status_code", + "keyClass": "", + "keyTitle": "", + "name": "fax_number", "type": "varchar", - "length": 5, - "nullable": "", + "length": 14, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the status of a submission request.<\/p>" + "comments": "

The fax number of the client’s contact.<\/p>" }, { - "tableName": "client_type_code", - "tableFileName": "client_type_code", + "tableName": "submission_status_code", + "tableFileName": "submission_status_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>client_type_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user", "type": "varchar", - "length": 5, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the type of a client.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { - "tableName": "submission_location_contact_xref", - "tableFileName": "submission_location_contact_xref", + "tableName": "submission_matching_detail", + "tableFileName": "submission_matching_detail", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>submission_contact_id", - "type": "int4", + "name": "<\/i>submission_matching_detail_id", + "type": "serial", "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Incremental id generated for the contact details of a client.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_matching_detail_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission matching detail of a client.<\/p>" }, { "tableName": "client_type_code", @@ -242,27 +242,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" - }, - { - "tableName": "submission_contact", - "tableFileName": "submission_contact", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_contact_id", - "type": "serial", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_contact_seq'::regclass)", - "comments": "

Incremental id generated for the contact details of a client.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "client_type_code", @@ -270,13 +256,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "email_log", @@ -284,13 +270,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "template_name", - "type": "varchar", - "length": 40, - "nullable": "", + "name": "exception_message", + "type": "text", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Name of the email template used for sending the email.<\/p>" + "comments": "

Textual message describing any exceptions that occurred during email processing.<\/p>" }, { "tableName": "country_code", @@ -298,13 +284,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "flyway_schema_history", @@ -312,9 +298,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "type", + "name": "description", "type": "varchar", - "length": 20, + "length": 200, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -324,15 +310,15 @@

Columns

"tableName": "email_log", "tableFileName": "email_log", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "email_id", - "type": "varchar", - "length": 40, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Identifier for the associated email assigned by CHES (if applicable).<\/p>" + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>email_log_id", + "type": "serial", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.email_log_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission email log.<\/p>" }, { "tableName": "submission_type_code", @@ -340,13 +326,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "district_code", @@ -354,13 +340,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "submission", @@ -368,55 +354,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "submission_date", "type": "timestamp", "length": 29, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>identification_type_code", "type": "varchar", - "length": 100, + "length": 4, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "comments": "

A code indicating the identification type of a client. Examples of possible ID types include Canadian Birth Certificate, Canadian Passport, and others.<\/p>" }, { "tableName": "identification_type_code", "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, - "nullable": "", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>country_code", + "type": "varchar", + "length": 2, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

A code representing the country to which the ID type belongs. If the country code is populated, a province or state will be required.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "incorporation_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>business_type_code", "type": "varchar", - "length": 13, - "nullable": "√", + "length": 1, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A number provided to B.C. corporations, businesses or societies as part of the registration or incorporation process.<\/p>" + "comments": "

A code indicating the business type of a client. It could be either Registered Business and Unregistered Business.<\/p>" }, { "tableName": "email_log", @@ -424,13 +410,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_subject", + "name": "email_address", "type": "varchar", "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Subject of the email.<\/p>" + "comments": "

Email address to which the email is sent.<\/p>" }, { "tableName": "district_code", @@ -438,13 +424,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "business_type_code", @@ -452,13 +438,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "submission_location", @@ -466,13 +452,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_address", + "name": "complementary_address_2", "type": "varchar", - "length": 100, + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The email address of the client’s location.<\/p>" + "comments": "

A second complementary address line of a client<\/p>" }, { "tableName": "submission_location", @@ -480,55 +466,55 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>province_code", + "name": "<\/i>country_code", "type": "varchar", "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a province, state, department or territory.<\/p>" + "comments": "

A code representing the code of a country.<\/p>" }, { "tableName": "submission", "tableFileName": "submission", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_status_code", - "type": "varchar", - "length": 5, - "nullable": "√", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

TBD.<\/p>" + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_id", + "type": "serial", + "length": 10, + "nullable": "", + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 100, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "comments": "

A code representing the code of a country.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "client_identification", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_type_code", "type": "varchar", - "length": 40, + "length": 4, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The reference number that identifies a client.<\/p>" + "comments": "

A code indicating the identification type of a client.<\/p>" }, { "tableName": "country_code", @@ -536,13 +522,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "flyway_schema_history", @@ -550,10 +536,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_by", - "type": "varchar", - "length": 100, - "nullable": "", + "name": "checksum", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -562,15 +548,15 @@

Columns

"tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>identification_type_code", + "keyClass": "", + "keyTitle": "", + "name": "notes", "type": "varchar", - "length": 4, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the identification type of a client.<\/p>" + "comments": "

Any additional information about the client or specific instructions.<\/p>" }, { "tableName": "client_type_code", @@ -578,13 +564,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "identification_type_code", @@ -592,27 +578,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { - "tableName": "country_code", - "tableFileName": "country_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>country_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user", "type": "varchar", - "length": 2, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a country.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_matching_detail", @@ -620,13 +606,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_userid", - "type": "varchar", - "length": 60, - "nullable": "√", + "name": "submission_matching_processed", + "type": "bool", + "length": 1, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The ID of the user submitting the changes.<\/p>" + "defaultValue": "false", + "comments": "

A flag to indicate that the submission was finally processed.<\/p>" }, { "tableName": "flyway_schema_history", @@ -634,10 +620,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "checksum", - "type": "int4", - "length": 10, - "nullable": "√", + "name": "script", + "type": "varchar", + "length": 1000, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -646,15 +632,15 @@

Columns

"tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>display_order", + "type": "int4", + "length": 10, + "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "null", + "comments": "

The the display order of a country. If no value is provided, the application will order countries alphabetically by default.<\/p>" }, { "tableName": "country_code", @@ -662,13 +648,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission_detail", @@ -676,27 +662,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "middle_name", + "name": "first_name", "type": "varchar", "length": 30, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The middle name of the client.<\/p>" + "comments": "

The first name of the client.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "first_name", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>contact_type_code", "type": "varchar", - "length": 30, - "nullable": "√", + "length": 2, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The first name of the client’s contact.<\/p>" + "comments": "

A code representing the code of a role of a client’s contact.<\/p>" }, { "tableName": "province_code", @@ -704,51 +690,51 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "province_code", "tableFileName": "province_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>country_code", "type": "varchar", - "length": 100, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "comments": "

A code representing the country in which the province is located.<\/p>" }, { "tableName": "submission_status_code", "tableFileName": "submission_status_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_status_code", "type": "varchar", - "length": 100, + "length": 5, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "comments": "

A code representing the status of a submission request.<\/p>" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>success", - "type": "bool", - "length": 1, + "keyClass": "", + "keyTitle": "", + "name": "execution_time", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -760,13 +746,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "business_phone_number", + "name": "last_name", "type": "varchar", - "length": 14, - "nullable": "", + "length": 30, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The phone number of the client’s contact.<\/p>" + "comments": "

The last name of the client’s contact.<\/p>" }, { "tableName": "email_log", @@ -774,55 +760,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_variables", - "type": "jsonb", - "length": 2147483647, - "nullable": "√", + "name": "email_subject", + "type": "varchar", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

JSONB field to store variables related to the email content.<\/p>" + "comments": "

Subject of the email.<\/p>" }, { - "tableName": "province_code", - "tableFileName": "province_code", + "tableName": "submission_location", + "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>province_code", + "keyClass": "", + "keyTitle": "", + "name": "email_address", "type": "varchar", - "length": 4, - "nullable": "", + "length": 100, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a province, state, department or territory.<\/p>" + "comments": "

The email address of the client’s location.<\/p>" }, { "tableName": "contact_type_code", "tableFileName": "contact_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>contact_type_code", "type": "varchar", - "length": 100, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "comments": "

A code representing the code of a role of a client’s contact.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_location_id", + "type": "serial", "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Incremental id generated for a submission of a client.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_location_seq'::regclass)", + "comments": "

Incremental id generated for a location of a client.<\/p>" }, { "tableName": "submission_detail", @@ -830,13 +816,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "doing_business_as", + "name": "work_safe_bc_number", "type": "varchar", - "length": 120, + "length": 6, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

An alternate name that a client may be conducting business under. For example: John Smith doing business as: John’s Logging.<\/p>" + "comments": "

A Work Safe BC number of a client.<\/p>" }, { "tableName": "country_code", @@ -844,13 +830,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "identification_type_code", @@ -858,27 +844,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "country_code", "tableFileName": "country_code", "tableType": "Table", - "keyClass": "indexedColumn", - "keyTitle": "Indexed", - "name": "<\/i>display_order", - "type": "int4", - "length": 10, - "nullable": "√", + "keyClass": "", + "keyTitle": "", + "name": "expiry_date", + "type": "date", + "length": 13, + "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The the display order of a country. If no value is provided, the application will order countries alphabetically by default.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "district_code", @@ -886,13 +872,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission_type_code", @@ -900,13 +886,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission_detail", @@ -914,13 +900,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "notes", + "name": "last_name", "type": "varchar", - "length": 4000, + "length": 30, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Any additional information about the client or specific instructions.<\/p>" + "comments": "

The last name of the client.<\/p>" }, { "tableName": "client_type_code", @@ -928,13 +914,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "email_log", @@ -942,13 +928,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "exception_message", - "type": "text", - "length": 2147483647, + "name": "email_sent_ind", + "type": "varchar", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Textual message describing any exceptions that occurred during email processing.<\/p>" + "comments": "

Indicator for whether the email has been sent (‘Y’ for Yes, ‘N’ for No).<\/p>" }, { "tableName": "email_log", @@ -956,13 +942,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_sent_ind", + "name": "email_id", "type": "varchar", - "length": 1, + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Indicator for whether the email has been sent (‘Y’ for Yes, ‘N’ for No).<\/p>" + "comments": "

Identifier for the associated email assigned by CHES (if applicable).<\/p>" }, { "tableName": "submission_location", @@ -970,13 +956,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "location_name", + "name": "postal_code", "type": "varchar", - "length": 40, + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The location name of an address. Examples of location names include, but are not limited to, Mailing Address, Billing Address among others.<\/p>" + "comments": "" }, { "tableName": "submission_status_code", @@ -984,13 +970,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "submission_matching_detail", @@ -998,18 +984,32 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_status_ind", + "name": "confirmed_match_message", "type": "varchar", - "length": 1, + "length": 1000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

An indicator that determines whether a specific match has been approved, allowing the processing to continue, or denied, requiring immediate action to be taken during the submission process.<\/p>" + "comments": "

A field with the reason for the denial of the submission.<\/p>" }, { "tableName": "client_type_code", "tableFileName": "client_type_code", "tableType": "Table", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>client_type_code", + "type": "varchar", + "length": 5, + "nullable": "", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A code representing the type of a client.<\/p>" + }, + { + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", + "tableType": "Table", "keyClass": "", "keyTitle": "", "name": "description", @@ -1021,22 +1021,22 @@

Columns

"comments": "

The description of the code value.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "create_user", + "type": "varchar", + "length": 60, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "business_type_code", + "tableFileName": "business_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", @@ -1048,33 +1048,19 @@

Columns

"defaultValue": "null", "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, - { - "tableName": "submission_detail", - "tableFileName": "submission_detail", - "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_detail_id", - "type": "serial", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_detail_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission detail of a client.<\/p>" - }, { "tableName": "submission_status_code", "tableFileName": "submission_status_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "submission_type_code", @@ -1082,13 +1068,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "email_log", @@ -1096,13 +1082,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

Timestamp indicating when the email log entry was last updated.<\/p>" + "comments": "

Timestamp indicating when the email log entry was created.<\/p>" }, { "tableName": "contact_type_code", @@ -1110,27 +1096,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { - "tableName": "submission", - "tableFileName": "submission", + "tableName": "flyway_schema_history", + "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_id", - "type": "serial", - "length": 10, + "keyClass": "indexedColumn", + "keyTitle": "Indexed", + "name": "<\/i>success", + "type": "bool", + "length": 1, "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission of a client.<\/p>" + "autoUpdated": "", + "defaultValue": "null", + "comments": "" }, { "tableName": "email_log", @@ -1138,13 +1124,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_address", + "name": "template_name", "type": "varchar", - "length": 100, + "length": 40, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

Email address to which the email is sent.<\/p>" + "comments": "

Name of the email template used for sending the email.<\/p>" }, { "tableName": "submission_status_code", @@ -1152,13 +1138,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "province_code", @@ -1166,27 +1152,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_detail_id", + "type": "serial", "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Incremental id generated for a submission of a client.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_detail_id_seq'::regclass)", + "comments": "

Incremental id generated for a submission detail of a client.<\/p>" }, { "tableName": "submission_detail", @@ -1194,69 +1180,83 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "client_acronym", + "name": "doing_business_as", "type": "varchar", - "length": 8, + "length": 120, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A familiar alphabetic acronym to be used as an alternative to the ministry’s client number for data entry and display.<\/p>" + "comments": "

An alternate name that a client may be conducting business under. For example: John Smith doing business as: John’s Logging.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "country_code", + "tableFileName": "country_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", - "type": "timestamp", - "length": 29, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { - "tableName": "submission_type_code", - "tableFileName": "submission_type_code", + "tableName": "contact_type_code", + "tableFileName": "contact_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", - "type": "varchar", - "length": 100, + "name": "create_timestamp", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created.<\/p>" }, { - "tableName": "district_code", - "tableFileName": "district_code", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>district_code", + "name": "<\/i>submission_type_code", "type": "varchar", "length": 5, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a Natural Resource District.<\/p>" + "comments": "

A code representing the type of a submission request.<\/p>" }, { - "tableName": "submission_detail", - "tableFileName": "submission_detail", + "tableName": "submission_type_code", + "tableFileName": "submission_type_code", "tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "organization_name", + "name": "update_user", "type": "varchar", "length": 60, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name of the client.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" + }, + { + "tableName": "submission_detail", + "tableFileName": "submission_detail", + "tableType": "Table", + "keyClass": "", + "keyTitle": "", + "name": "incorporation_number", + "type": "varchar", + "length": 13, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

A number provided to B.C. corporations, businesses or societies as part of the registration or incorporation process.<\/p>" }, { "tableName": "submission_contact", @@ -1264,13 +1264,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "secondary_phone_number", + "name": "idp_user_id", "type": "varchar", - "length": 14, + "length": 50, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A secondary phone number of the client’s contact.<\/p>" + "comments": "

The unique identifier assigned to a user by the Identity Provider.<\/p>" }, { "tableName": "business_type_code", @@ -1278,13 +1278,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "submission_location", @@ -1292,13 +1292,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "complementary_address_2", + "name": "complementary_address_1", "type": "varchar", "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A second complementary address line of a client<\/p>" + "comments": "

A complementary address line of a client<\/p>" }, { "tableName": "district_code", @@ -1306,13 +1306,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_address", + "name": "description", "type": "varchar", "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The email address of the Natural Resource District.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1320,13 +1320,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_message", - "type": "varchar", - "length": 1000, + "name": "confirmed_match_timestamp", + "type": "timestamp", + "length": 29, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A field with the reason for the denial of the submission.<\/p>" + "comments": "

The timestamp when the changes happened.<\/p>" }, { "tableName": "client_type_code", @@ -1334,13 +1334,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1348,12 +1348,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "execution_time", - "type": "int4", - "length": 10, + "name": "installed_on", + "type": "timestamp", + "length": 29, "nullable": "", "autoUpdated": "", - "defaultValue": "null", + "defaultValue": "now()", "comments": "" }, { @@ -1362,13 +1362,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, - "nullable": "", + "name": "email_variables", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

Timestamp indicating when the email log entry was created.<\/p>" + "defaultValue": "null", + "comments": "

JSONB field to store variables related to the email content.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1376,13 +1376,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "confirmed_match_timestamp", - "type": "timestamp", - "length": 29, + "name": "confirmed_match_userid", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp when the changes happened.<\/p>" + "comments": "

The ID of the user submitting the changes.<\/p>" }, { "tableName": "submission", @@ -1390,13 +1390,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>submission_type_code", + "name": "<\/i>submission_status_code", "type": "varchar", "length": 5, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the status of a submission request. Examples include, but are not limited to: New, Approved, Rejected, and others.<\/p>" + "comments": "

TBD.<\/p>" }, { "tableName": "identification_type_code", @@ -1404,13 +1404,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "submission_contact", @@ -1418,41 +1418,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "last_name", + "name": "first_name", "type": "varchar", "length": 30, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The last name of the client’s contact.<\/p>" + "comments": "

The first name of the client’s contact.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "good_standing_ind", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>client_type_code", "type": "varchar", - "length": 1, - "nullable": "√", + "length": 5, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

An indicator that determines whether a client is in good standing with respect to their financial obligations.<\/p>" + "comments": "

A code representing the type of a client.<\/p>" }, { - "tableName": "submission_location", - "tableFileName": "submission_location", + "tableName": "submission", + "tableFileName": "submission", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_location_id", - "type": "serial", - "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_location_seq'::regclass)", - "comments": "

Incremental id generated for a location of a client.<\/p>" + "keyClass": "", + "keyTitle": "", + "name": "update_user", + "type": "varchar", + "length": 60, + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_status_code", @@ -1460,55 +1460,55 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { - "tableName": "submission_matching_detail", - "tableFileName": "submission_matching_detail", + "tableName": "submission_location_contact_xref", + "tableFileName": "submission_location_contact_xref", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "submission_matching_processed_time", - "type": "timestamp", - "length": 29, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_location_id", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The timestamp of when the processor started to process this specific entry<\/p>" + "comments": "

Incremental id generated for a location of a client.<\/p>" }, { - "tableName": "identification_type_code", - "tableFileName": "identification_type_code", + "tableName": "submission_detail", + "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>identification_type_code", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>identification_province_code", "type": "varchar", "length": 4, - "nullable": "", + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the identification type of a client. Examples of possible ID types include Canadian Birth Certificate, Canadian Passport, and others.<\/p>" + "comments": "

A code representing the code of a province, state, department or territory.<\/p>" }, { - "tableName": "business_type_code", - "tableFileName": "business_type_code", + "tableName": "district_code", + "tableFileName": "district_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>business_type_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user", "type": "varchar", - "length": 1, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the business type of a client.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission_detail", @@ -1516,27 +1516,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "last_name", + "name": "middle_name", "type": "varchar", "length": 30, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The last name of the client.<\/p>" + "comments": "

The middle name of the client.<\/p>" }, { "tableName": "submission_matching_detail", "tableFileName": "submission_matching_detail", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_matching_detail_id", - "type": "serial", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", "length": 10, "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.submission_matching_detail_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission matching detail of a client.<\/p>" + "autoUpdated": "", + "defaultValue": "null", + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "submission_location", @@ -1544,13 +1544,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "fax_number", + "name": "secondary_phone_number", "type": "varchar", "length": 14, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The fax number of a client’s specific location.<\/p>" + "comments": "

A secondary phone number of a client’s specific location.<\/p>" }, { "tableName": "submission_location", @@ -1558,13 +1558,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "notes", + "name": "fax_number", "type": "varchar", - "length": 4000, + "length": 14, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Any additional information about the client’s location or specific instructions for contacting them.<\/p>" + "comments": "

The fax number of a client’s specific location.<\/p>" }, { "tableName": "business_type_code", @@ -1572,27 +1572,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { - "tableName": "flyway_schema_history", - "tableFileName": "flyway_schema_history", + "tableName": "submission_location_contact_xref", + "tableFileName": "submission_location_contact_xref", "tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>installed_rank", + "name": "<\/i>submission_contact_id", "type": "int4", "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Incremental id generated for the contact details of a client.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1600,10 +1600,10 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "description", + "name": "version", "type": "varchar", - "length": 200, - "nullable": "", + "length": 50, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -1614,13 +1614,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "complementary_address_1", + "name": "notes", "type": "varchar", - "length": 40, + "length": 4000, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A complementary address line of a client<\/p>" + "comments": "

Any additional information about the client’s location or specific instructions for contacting them.<\/p>" }, { "tableName": "business_type_code", @@ -1628,13 +1628,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_status_code", @@ -1642,13 +1642,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "flyway_schema_history", @@ -1656,9 +1656,9 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "script", + "name": "type", "type": "varchar", - "length": 1000, + "length": 20, "nullable": "", "autoUpdated": "", "defaultValue": "null", @@ -1670,41 +1670,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "business_phone_number", + "name": "location_name", "type": "varchar", - "length": 14, - "nullable": "√", + "length": 40, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The phone number of a client’s specific location.<\/p>" + "comments": "

The location name of an address. Examples of location names include, but are not limited to, Mailing Address, Billing Address among others.<\/p>" }, { "tableName": "submission_matching_detail", "tableFileName": "submission_matching_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "matching_fields", + "type": "jsonb", + "length": 2147483647, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Incremental id generated for a submission of a client.<\/p>" + "comments": "

A JSON object provides information about matches found in the existing database. The matches can result from fuzzy search, like matching a name pattern, or from exact equality, such as matching incorporation number or good standing status.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>identification_country_code", + "keyClass": "", + "keyTitle": "", + "name": "client_identification", "type": "varchar", - "length": 2, + "length": 40, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a country.<\/p>" + "comments": "

The reference number that identifies a client.<\/p>" }, { "tableName": "contact_type_code", @@ -1712,13 +1712,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_status_code", @@ -1726,13 +1726,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_contact", @@ -1740,41 +1740,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "idp_user_id", + "name": "email_address", "type": "varchar", - "length": 50, - "nullable": "√", + "length": 100, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The unique identifier assigned to a user by the Identity Provider.<\/p>" + "comments": "

The email address of the client’s contact.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>client_type_code", + "keyClass": "", + "keyTitle": "", + "name": "organization_name", "type": "varchar", - "length": 5, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the type of a client.<\/p>" + "comments": "

The name of the client.<\/p>" }, { - "tableName": "submission_location_contact_xref", - "tableFileName": "submission_location_contact_xref", + "tableName": "client_type_code", + "tableFileName": "client_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_location_id", - "type": "int4", - "length": 10, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "update_user", + "type": "varchar", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

Incremental id generated for a location of a client.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "submission", @@ -1782,41 +1782,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { - "tableName": "email_log", - "tableFileName": "email_log", + "tableName": "province_code", + "tableFileName": "province_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>email_log_id", - "type": "serial", + "keyClass": "", + "keyTitle": "", + "name": "display_order", + "type": "int4", "length": 10, - "nullable": "", - "autoUpdated": "√", - "defaultValue": "nextval('nrfc.email_log_id_seq'::regclass)", - "comments": "

Incremental id generated for a submission email log.<\/p>" + "nullable": "√", + "autoUpdated": "", + "defaultValue": "null", + "comments": "

The the display order of a province/state. If no value is provided, the application will order provinces/states alphabetically by default.<\/p>" }, { "tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "city_name", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>province_code", "type": "varchar", - "length": 30, + "length": 2, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The name of the city of the location.<\/p>" + "comments": "

A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "province_code", @@ -1824,13 +1824,13 @@

Columns

"tableType": "Table", "keyClass": "primaryKey", "keyTitle": "Primary Key", - "name": "<\/i>country_code", + "name": "<\/i>province_code", "type": "varchar", - "length": 2, + "length": 4, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the country in which the province is located.<\/p>" + "comments": "

A code representing the code of a province, state, department or territory.<\/p>" }, { "tableName": "district_code", @@ -1838,13 +1838,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "business_type_code", @@ -1852,13 +1852,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_user", + "name": "create_user", "type": "varchar", "length": 60, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The user or proxy account that created or last updated the record.<\/p>" + "comments": "

The user or proxy account that created the record.<\/p>" }, { "tableName": "province_code", @@ -1866,27 +1866,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "client_number", - "type": "varchar", - "length": 8, - "nullable": "√", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "district_code", @@ -1894,13 +1894,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "email_address", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The email address of the Natural Resource District.<\/p>" }, { "tableName": "submission_matching_detail", @@ -1908,13 +1908,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "submission_matching_processed", - "type": "bool", - "length": 1, - "nullable": "", + "name": "submission_matching_processed_time", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "false", - "comments": "

A flag to indicate that the submission was finally processed.<\/p>" + "defaultValue": "null", + "comments": "

The timestamp of when the processor started to process this specific entry<\/p>" }, { "tableName": "submission_detail", @@ -1922,27 +1922,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "birthdate", - "type": "date", - "length": 13, + "name": "good_standing_ind", + "type": "varchar", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the BC Services Card logged in person was born.<\/p>" + "comments": "

An indicator that determines whether a client is in good standing with respect to their financial obligations.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>district_code", - "type": "varchar", - "length": 5, + "keyClass": "", + "keyTitle": "", + "name": "birthdate", + "type": "date", + "length": 13, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the natural resource district of a client.<\/p>" + "comments": "

The date that the BC Services Card logged in person was born.<\/p>" }, { "tableName": "identification_type_code", @@ -1950,27 +1950,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "submission_contact", "tableFileName": "submission_contact", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>submission_id", - "type": "int4", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>submission_contact_id", + "type": "serial", "length": 10, "nullable": "", - "autoUpdated": "", - "defaultValue": "null", - "comments": "

Incremental id generated for a submission of a client.<\/p>" + "autoUpdated": "√", + "defaultValue": "nextval('nrfc.submission_contact_seq'::regclass)", + "comments": "

Incremental id generated for the contact details of a client.<\/p>" }, { "tableName": "submission_detail", @@ -1978,13 +1978,13 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>identification_province_code", + "name": "<\/i>identification_country_code", "type": "varchar", - "length": 4, + "length": 2, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a province, state, department or territory.<\/p>" + "comments": "

A code representing the code of a country.<\/p>" }, { "tableName": "submission_contact", @@ -1992,27 +1992,27 @@

Columns

"tableType": "Table", "keyClass": "foreignKey", "keyTitle": "Foreign Key", - "name": "<\/i>contact_type_code", - "type": "varchar", - "length": 2, + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a role of a client’s contact.<\/p>" + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "business_type_code", "tableFileName": "business_type_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>business_type_code", "type": "varchar", - "length": 100, + "length": 1, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "comments": "

A code indicating the business type of a client.<\/p>" }, { "tableName": "province_code", @@ -2020,13 +2020,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "submission_contact", @@ -2034,41 +2034,41 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "email_address", + "name": "business_phone_number", "type": "varchar", - "length": 100, + "length": 14, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The email address of the client’s contact.<\/p>" + "comments": "

The phone number of the client’s contact.<\/p>" }, { "tableName": "district_code", "tableFileName": "district_code", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "description", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>district_code", "type": "varchar", - "length": 100, + "length": 5, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The description of the code value.<\/p>" + "comments": "

A code representing the code of a Natural Resource District.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "work_safe_bc_number", + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>district_code", "type": "varchar", - "length": 6, + "length": 5, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A Work Safe BC number of a client.<\/p>" + "comments": "

A code representing the natural resource district of a client.<\/p>" }, { "tableName": "submission_location", @@ -2076,38 +2076,38 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "postal_code", + "name": "city_name", "type": "varchar", - "length": 10, + "length": 30, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "" + "comments": "

The name of the city of the location.<\/p>" }, { "tableName": "submission_detail", "tableFileName": "submission_detail", "tableType": "Table", - "keyClass": "foreignKey", - "keyTitle": "Foreign Key", - "name": "<\/i>business_type_code", + "keyClass": "", + "keyTitle": "", + "name": "client_number", "type": "varchar", - "length": 1, - "nullable": "", + "length": 8, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code indicating the business type of a client. It could be either Registered Business and Unregistered Business.<\/p>" + "comments": "" }, { "tableName": "flyway_schema_history", "tableFileName": "flyway_schema_history", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "version", - "type": "varchar", - "length": 50, - "nullable": "√", + "keyClass": "primaryKey", + "keyTitle": "Primary Key", + "name": "<\/i>installed_rank", + "type": "int4", + "length": 10, + "nullable": "", "autoUpdated": "", "defaultValue": "null", "comments": "" @@ -2116,15 +2116,15 @@

Columns

"tableName": "submission_location", "tableFileName": "submission_location", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "street_address", - "type": "varchar", - "length": 40, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_id", + "type": "int4", + "length": 10, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The address of a client, including the street number and street name.<\/p>" + "comments": "

Incremental id generated for a submission of a client.<\/p>" }, { "tableName": "submission_contact", @@ -2132,27 +2132,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "fax_number", + "name": "secondary_phone_number", "type": "varchar", "length": 14, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The fax number of the client’s contact.<\/p>" + "comments": "

A secondary phone number of the client’s contact.<\/p>" }, { - "tableName": "contact_type_code", - "tableFileName": "contact_type_code", + "tableName": "identification_type_code", + "tableFileName": "identification_type_code", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>contact_type_code", + "keyClass": "", + "keyTitle": "", + "name": "update_user", "type": "varchar", - "length": 2, - "nullable": "", + "length": 60, + "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A code representing the code of a role of a client’s contact.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "district_code", @@ -2160,13 +2160,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { "tableName": "business_type_code", @@ -2174,13 +2174,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "update_timestamp", + "name": "create_timestamp", "type": "timestamp", "length": 29, - "nullable": "√", + "nullable": "", "autoUpdated": "", "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created or last updated.<\/p>" + "comments": "

The date and time the record was created.<\/p>" }, { "tableName": "province_code", @@ -2188,13 +2188,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "display_order", - "type": "int4", - "length": 10, + "name": "update_user", + "type": "varchar", + "length": 60, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The the display order of a province/state. If no value is provided, the application will order provinces/states alphabetically by default.<\/p>" + "comments": "

The user or proxy account that created or last updated the record.<\/p>" }, { "tableName": "province_code", @@ -2202,13 +2202,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "client_type_code", @@ -2216,13 +2216,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "contact_type_code", @@ -2230,27 +2230,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "submission", "tableFileName": "submission", "tableType": "Table", - "keyClass": "", - "keyTitle": "", - "name": "submission_date", - "type": "timestamp", - "length": 29, + "keyClass": "foreignKey", + "keyTitle": "Foreign Key", + "name": "<\/i>submission_type_code", + "type": "varchar", + "length": 5, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date and time the record was created.<\/p>" + "comments": "

A code indicating the status of a submission request. Examples include, but are not limited to: New, Approved, Rejected, and others.<\/p>" }, { "tableName": "submission_type_code", @@ -2258,13 +2258,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "effective_date", - "type": "date", - "length": 13, + "name": "description", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", "defaultValue": "null", - "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" + "comments": "

The description of the code value.<\/p>" }, { "tableName": "submission_matching_detail", @@ -2272,13 +2272,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "matching_fields", - "type": "jsonb", - "length": 2147483647, + "name": "confirmed_match_status_ind", + "type": "varchar", + "length": 1, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

A JSON object provides information about matches found in the existing database. The matches can result from fuzzy search, like matching a name pattern, or from exact equality, such as matching incorporation number or good standing status.<\/p>" + "comments": "

An indicator that determines whether a specific match has been approved, allowing the processing to continue, or denied, requiring immediate action to be taken during the submission process.<\/p>" }, { "tableName": "submission_type_code", @@ -2286,13 +2286,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "expiry_date", + "name": "effective_date", "type": "date", "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", - "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" + "defaultValue": "null", + "comments": "

The date that the code value has become or is expected to become effective. Default is the data that the code value is created.<\/p>" }, { "tableName": "flyway_schema_history", @@ -2300,12 +2300,12 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "installed_on", - "type": "timestamp", - "length": 29, + "name": "installed_by", + "type": "varchar", + "length": 100, "nullable": "", "autoUpdated": "", - "defaultValue": "now()", + "defaultValue": "null", "comments": "" }, { @@ -2314,13 +2314,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "first_name", + "name": "client_acronym", "type": "varchar", - "length": 30, + "length": 8, "nullable": "√", "autoUpdated": "", "defaultValue": "null", - "comments": "

The first name of the client.<\/p>" + "comments": "

A familiar alphabetic acronym to be used as an alternative to the ministry’s client number for data entry and display.<\/p>" }, { "tableName": "contact_type_code", @@ -2328,13 +2328,13 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_timestamp", - "type": "timestamp", - "length": 29, + "name": "expiry_date", + "type": "date", + "length": 13, "nullable": "", "autoUpdated": "", - "defaultValue": "CURRENT_TIMESTAMP", - "comments": "

The date and time the record was created.<\/p>" + "defaultValue": "to_date('99991231'::text, 'YYYYMMDD'::text)", + "comments": "

The date on which the code value has expired or is expected to expire. Default 9999-12-31.<\/p>" }, { "tableName": "province_code", @@ -2342,27 +2342,27 @@

Columns

"tableType": "Table", "keyClass": "", "keyTitle": "", - "name": "create_user", - "type": "varchar", - "length": 60, - "nullable": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

The user or proxy account that created the record.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

The date and time the record was created or last updated.<\/p>" }, { - "tableName": "submission_type_code", - "tableFileName": "submission_type_code", + "tableName": "email_log", + "tableFileName": "email_log", "tableType": "Table", - "keyClass": "primaryKey", - "keyTitle": "Primary Key", - "name": "<\/i>submission_type_code", - "type": "varchar", - "length": 5, - "nullable": "", + "keyClass": "", + "keyTitle": "", + "name": "update_timestamp", + "type": "timestamp", + "length": 29, + "nullable": "√", "autoUpdated": "", - "defaultValue": "null", - "comments": "

A code representing the type of a submission request.<\/p>" + "defaultValue": "CURRENT_TIMESTAMP", + "comments": "

Timestamp indicating when the email log entry was last updated.<\/p>" } ]; var config = { diff --git a/schema/nrfc/constraints.html b/schema/nrfc/constraints.html index 69abc18146..e9abf69819 100644 --- a/schema/nrfc/constraints.html +++ b/schema/nrfc/constraints.html @@ -140,54 +140,54 @@

17 Foreign Key Constraints

Restrict delete - submission_contact_id_fk + submission_id_fk - +
submission_location_contact_xref.submission_contact_idsubmission_matching_detail.submission_id
- +
submission_contact.submission_contact_idsubmission.submission_id
Restrict delete - submission_location_id_fk + submission_contact_id_fk - +
submission_location_contact_xref.submission_location_idsubmission_location_contact_xref.submission_contact_id
- +
submission_location.submission_location_idsubmission_contact.submission_contact_id
Restrict delete - submission_id_fk + submission_location_id_fk - +
submission_matching_detail.submission_idsubmission_location_contact_xref.submission_location_id
- +
submission.submission_idsubmission_location.submission_location_id
diff --git a/schema/nrfc/default.nrfc.xml b/schema/nrfc/default.nrfc.xml index bb3919e687..c75956d60b 100644 --- a/schema/nrfc/default.nrfc.xml +++ b/schema/nrfc/default.nrfc.xml @@ -268,8 +268,8 @@ - + diff --git a/schema/nrfc/diagrams/summary/relationships.implied.compact.dot b/schema/nrfc/diagrams/summary/relationships.implied.compact.dot index a1fe71c9cc..07c0c38ca7 100644 --- a/schema/nrfc/diagrams/summary/relationships.implied.compact.dot +++ b/schema/nrfc/diagrams/summary/relationships.implied.compact.dot @@ -38,18 +38,6 @@ digraph "compactImpliedRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< - - - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -63,6 +51,18 @@ digraph "compactImpliedRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/diagrams/summary/relationships.implied.large.dot b/schema/nrfc/diagrams/summary/relationships.implied.large.dot index cece1a0cd3..92dfde483d 100644 --- a/schema/nrfc/diagrams/summary/relationships.implied.large.dot +++ b/schema/nrfc/diagrams/summary/relationships.implied.large.dot @@ -56,18 +56,6 @@ digraph "largeImpliedRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< -
- - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -87,6 +75,18 @@ digraph "largeImpliedRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/diagrams/summary/relationships.real.compact.dot b/schema/nrfc/diagrams/summary/relationships.real.compact.dot index acaf300422..0e86db0cd0 100644 --- a/schema/nrfc/diagrams/summary/relationships.real.compact.dot +++ b/schema/nrfc/diagrams/summary/relationships.real.compact.dot @@ -38,18 +38,6 @@ digraph "compactRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< -
- - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -63,6 +51,18 @@ digraph "compactRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/diagrams/summary/relationships.real.large.dot b/schema/nrfc/diagrams/summary/relationships.real.large.dot index 61e86b0572..fadd9d269e 100644 --- a/schema/nrfc/diagrams/summary/relationships.real.large.dot +++ b/schema/nrfc/diagrams/summary/relationships.real.large.dot @@ -56,18 +56,6 @@ digraph "largeRelationshipsDiagram" { target="_top" tooltip="client_type_code" ]; - "submission_location_contact_xref" [ - label=< -
- - - - -
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> - URL="tables/submission_location_contact_xref.html" - target="_top" - tooltip="submission_location_contact_xref" - ]; "submission_matching_detail" [ label=< @@ -87,6 +75,18 @@ digraph "largeRelationshipsDiagram" { target="_top" tooltip="submission_matching_detail" ]; + "submission_location_contact_xref" [ + label=< +
+ + + + +
submission_location_contact_xref[table]
submission_location_id
submission_contact_id
< 2
> + URL="tables/submission_location_contact_xref.html" + target="_top" + tooltip="submission_location_contact_xref" + ]; "submission" [ label=< diff --git a/schema/nrfc/index.html b/schema/nrfc/index.html index e5099d9510..4fdd38ff44 100644 --- a/schema/nrfc/index.html +++ b/schema/nrfc/index.html @@ -78,7 +78,7 @@

Tables


SchemaSpy Analysis of default.nrfc

-

Generated on Mon Oct 28 20:46 GMT 2024

+

Generated on Tue Oct 29 02:22 GMT 2024

@@ -224,22 +224,22 @@

Tables

- + - - + + - + - + - - + + - + diff --git a/schema/nrfc/info-html.txt b/schema/nrfc/info-html.txt index 93ec47968a..89f303ff0c 100644 --- a/schema/nrfc/info-html.txt +++ b/schema/nrfc/info-html.txt @@ -1,4 +1,4 @@ -date=2024-10-28 20:46:05+0000 +date=2024-10-29 02:22:25+0000 os=Linux 6.8.0-1015-azure schemaspy-version=6.2.4 schemaspy-build=6.2.4.41 2023-07-21 11:15:12 diff --git a/schema/nrfc/relationships.html b/schema/nrfc/relationships.html index b746c91c6e..7daf07adfd 100644 --- a/schema/nrfc/relationships.html +++ b/schema/nrfc/relationships.html @@ -100,9 +100,9 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + - @@ -120,9 +120,9 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + - @@ -140,9 +140,9 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + - @@ -160,9 +160,9 @@
By default only columns that are primary keys, foreign keys or indexes are s - + + - diff --git a/schema/nrfc/tables/submission_location.html b/schema/nrfc/tables/submission_location.html index d64dab2c17..caf708be8d 100644 --- a/schema/nrfc/tables/submission_location.html +++ b/schema/nrfc/tables/submission_location.html @@ -196,13 +196,13 @@

Columns

A code indicating the type of a client. Examples include, but are not limited to: Corporation, Individual, Association, and others.

submission_location_contact_xrefsubmission_matching_detail 02219 -1 Table

Identifies the multiple addresses for a given client, as well as the many contacts that may belong to a given address.

The number of matches, if any, found in the legacy oracle database. These matches are determined through a combination of fuzzy search in specific fields and exact equality in others.

submission_matching_detailsubmission_location_contact_xref 01922 -1 Table

The number of matches, if any, found in the legacy oracle database. These matches are determined through a combination of fuzzy search in specific fields and exact equality in others.

Identifies the multiple addresses for a given client, as well as the many contacts that may belong to a given address.

flyway_schema_history - - + + - - + +
province_code.country_codesubmission_location_province_code_fkcountry_code.country_codesubmission_location_country_code_fk R
country_code.country_codesubmission_location_country_code_fkprovince_code.country_codesubmission_location_province_code_fk R