diff --git a/TEAM/Files/PhysicalModel/000_Source/dbo/CUSTOMER_OFFER.json b/TEAM/Files/PhysicalModel/000_Source/dbo/CUSTOMER_OFFER.json new file mode 100644 index 0000000..56b127f --- /dev/null +++ b/TEAM/Files/PhysicalModel/000_Source/dbo/CUSTOMER_OFFER.json @@ -0,0 +1,27 @@ +{ + "name": "CUSTOMER_OFFER", + "database": "000_Source", + "schema": "dbo", + "columns": [ + { + "name": "CustomerID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "OfferID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/000_Source/dbo/CUSTOMER_PERSONAL.json b/TEAM/Files/PhysicalModel/000_Source/dbo/CUSTOMER_PERSONAL.json new file mode 100644 index 0000000..bcc6f81 --- /dev/null +++ b/TEAM/Files/PhysicalModel/000_Source/dbo/CUSTOMER_PERSONAL.json @@ -0,0 +1,117 @@ +{ + "name": "CUSTOMER_PERSONAL", + "database": "000_Source", + "schema": "dbo", + "columns": [ + { + "name": "CustomerID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Given", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Surname", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Suburb", + "dataType": "varchar", + "characterLength": "50", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "State", + "dataType": "varchar", + "characterLength": "3", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Postcode", + "dataType": "varchar", + "characterLength": "6", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Country", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Gender", + "dataType": "varchar", + "characterLength": "1", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "DOB", + "dataType": "date", + "characterLength": "3", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Contact_Number", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Referee_Offer_Made", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/000_Source/dbo/CUST_MEMBERSHIP.json b/TEAM/Files/PhysicalModel/000_Source/dbo/CUST_MEMBERSHIP.json new file mode 100644 index 0000000..02d9dec --- /dev/null +++ b/TEAM/Files/PhysicalModel/000_Source/dbo/CUST_MEMBERSHIP.json @@ -0,0 +1,67 @@ +{ + "name": "CUST_MEMBERSHIP", + "database": "000_Source", + "schema": "dbo", + "columns": [ + { + "name": "CustomerID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Plan_Code", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Start_Date", + "dataType": "datetime", + "characterLength": "8", + "numericPrecision": "23", + "numericScale": "3", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "End_Date", + "dataType": "datetime", + "characterLength": "8", + "numericPrecision": "23", + "numericScale": "3", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Status", + "dataType": "varchar", + "characterLength": "10", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Comment", + "dataType": "varchar", + "characterLength": "50", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/000_Source/dbo/ESTIMATED_WORTH.json b/TEAM/Files/PhysicalModel/000_Source/dbo/ESTIMATED_WORTH.json new file mode 100644 index 0000000..46d97a6 --- /dev/null +++ b/TEAM/Files/PhysicalModel/000_Source/dbo/ESTIMATED_WORTH.json @@ -0,0 +1,37 @@ +{ + "name": "ESTIMATED_WORTH", + "database": "000_Source", + "schema": "dbo", + "columns": [ + { + "name": "Plan_Code", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Date_effective", + "dataType": "datetime", + "characterLength": "8", + "numericPrecision": "23", + "numericScale": "3", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Value_Amount", + "dataType": "numeric", + "characterLength": "9", + "numericPrecision": "18", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/000_Source/dbo/OFFER.json b/TEAM/Files/PhysicalModel/000_Source/dbo/OFFER.json new file mode 100644 index 0000000..c88a496 --- /dev/null +++ b/TEAM/Files/PhysicalModel/000_Source/dbo/OFFER.json @@ -0,0 +1,27 @@ +{ + "name": "OFFER", + "database": "000_Source", + "schema": "dbo", + "columns": [ + { + "name": "OfferID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Offer_Long_Description", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/000_Source/dbo/PERSONALISED_COSTING.json b/TEAM/Files/PhysicalModel/000_Source/dbo/PERSONALISED_COSTING.json new file mode 100644 index 0000000..54a90b0 --- /dev/null +++ b/TEAM/Files/PhysicalModel/000_Source/dbo/PERSONALISED_COSTING.json @@ -0,0 +1,57 @@ +{ + "name": "PERSONALISED_COSTING", + "database": "000_Source", + "schema": "dbo", + "columns": [ + { + "name": "Member", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Segment", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Plan_Code", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Date_effective", + "dataType": "datetime", + "characterLength": "8", + "numericPrecision": "23", + "numericScale": "3", + "ordinalPosition": 4, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Monthly_Cost", + "dataType": "numeric", + "characterLength": "9", + "numericPrecision": "18", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/000_Source/dbo/PLAN.json b/TEAM/Files/PhysicalModel/000_Source/dbo/PLAN.json new file mode 100644 index 0000000..8f87610 --- /dev/null +++ b/TEAM/Files/PhysicalModel/000_Source/dbo/PLAN.json @@ -0,0 +1,37 @@ +{ + "name": "PLAN", + "database": "000_Source", + "schema": "dbo", + "columns": [ + { + "name": "Plan_Code", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Plan_Desc", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Renewal_Plan_Code", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUSTOMER_OFFER.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUSTOMER_OFFER.json new file mode 100644 index 0000000..a92fa3e --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUSTOMER_OFFER.json @@ -0,0 +1,97 @@ +{ + "name": "STG_PROFILER_CUSTOMER_OFFER", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CustomerID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "OfferID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUSTOMER_PERSONAL.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUSTOMER_PERSONAL.json new file mode 100644 index 0000000..02ee830 --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUSTOMER_PERSONAL.json @@ -0,0 +1,187 @@ +{ + "name": "STG_PROFILER_CUSTOMER_PERSONAL", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CustomerID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Given", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Surname", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Suburb", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "State", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Postcode", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 13, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Country", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 14, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Gender", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 15, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "DOB", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 16, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Contact_Number", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 17, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Referee_Offer_Made", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 18, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUST_MEMBERSHIP.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUST_MEMBERSHIP.json new file mode 100644 index 0000000..a80b348 --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_CUST_MEMBERSHIP.json @@ -0,0 +1,137 @@ +{ + "name": "STG_PROFILER_CUST_MEMBERSHIP", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CustomerID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Start_Date", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "End_Date", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Status", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Comment", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 13, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_ESTIMATED_WORTH.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_ESTIMATED_WORTH.json new file mode 100644 index 0000000..1f9cf58 --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_ESTIMATED_WORTH.json @@ -0,0 +1,107 @@ +{ + "name": "STG_PROFILER_ESTIMATED_WORTH", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Date_effective", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Value_Amount", + "dataType": "17", + "characterLength": "numeric", + "numericPrecision": "38", + "numericScale": "20", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_OFFER.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_OFFER.json new file mode 100644 index 0000000..60de535 --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_OFFER.json @@ -0,0 +1,97 @@ +{ + "name": "STG_PROFILER_OFFER", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "OfferID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Offer_Long_Description", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_PERSONALISED_COSTING.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_PERSONALISED_COSTING.json new file mode 100644 index 0000000..94b21e7 --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_PERSONALISED_COSTING.json @@ -0,0 +1,127 @@ +{ + "name": "STG_PROFILER_PERSONALISED_COSTING", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Member", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Segment", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Date_effective", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Monthly_Cost", + "dataType": "17", + "characterLength": "numeric", + "numericPrecision": "38", + "numericScale": "20", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_PLAN.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_PLAN.json new file mode 100644 index 0000000..9fdaccb --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_PROFILER_PLAN.json @@ -0,0 +1,107 @@ +{ + "name": "STG_PROFILER_PLAN", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Plan_Desc", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Renewal_Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_USERMANAGED_SEGMENT.json b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_USERMANAGED_SEGMENT.json new file mode 100644 index 0000000..1204d84 --- /dev/null +++ b/TEAM/Files/PhysicalModel/100_Staging_Area/dbo/STG_USERMANAGED_SEGMENT.json @@ -0,0 +1,97 @@ +{ + "name": "STG_USERMANAGED_SEGMENT", + "database": "100_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Demographic_Segment_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Demographic_Segment_Description", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUSTOMER_OFFER.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUSTOMER_OFFER.json new file mode 100644 index 0000000..2ab8fa3 --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUSTOMER_OFFER.json @@ -0,0 +1,97 @@ +{ + "name": "PSA_PROFILER_CUSTOMER_OFFER", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CustomerID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "OfferID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUSTOMER_PERSONAL.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUSTOMER_PERSONAL.json new file mode 100644 index 0000000..dfb0714 --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUSTOMER_PERSONAL.json @@ -0,0 +1,187 @@ +{ + "name": "PSA_PROFILER_CUSTOMER_PERSONAL", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Contact_Number", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 17, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Country", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 14, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CustomerID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "DOB", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 16, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Gender", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 15, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Given", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Postcode", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 13, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Referee_Offer_Made", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 18, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "State", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Suburb", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Surname", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUST_MEMBERSHIP.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUST_MEMBERSHIP.json new file mode 100644 index 0000000..6ffca72 --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_CUST_MEMBERSHIP.json @@ -0,0 +1,137 @@ +{ + "name": "PSA_PROFILER_CUST_MEMBERSHIP", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "EVENT_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CustomerID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Plan_Code", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Start_Date", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "End_Date", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Status", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Comment", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 13, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_ESTIMATED_WORTH.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_ESTIMATED_WORTH.json new file mode 100644 index 0000000..f3641c7 --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_ESTIMATED_WORTH.json @@ -0,0 +1,107 @@ +{ + "name": "PSA_PROFILER_ESTIMATED_WORTH", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "Y" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Date_effective", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 9, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Value_Amount", + "dataType": "17", + "characterLength": "numeric", + "numericPrecision": "38", + "numericScale": "20", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_OFFER.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_OFFER.json new file mode 100644 index 0000000..d52d492 --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_OFFER.json @@ -0,0 +1,97 @@ +{ + "name": "PSA_PROFILER_OFFER", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "Y" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "OfferID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Offer_Long_Description", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_PERSONALISED_COSTING.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_PERSONALISED_COSTING.json new file mode 100644 index 0000000..8c0115b --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_PERSONALISED_COSTING.json @@ -0,0 +1,127 @@ +{ + "name": "PSA_PROFILER_PERSONALISED_COSTING", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "Y" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Member", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Segment", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Date_effective", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 11, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Monthly_Cost", + "dataType": "17", + "characterLength": "numeric", + "numericPrecision": "38", + "numericScale": "20", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_PLAN.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_PLAN.json new file mode 100644 index 0000000..7a7723d --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_PROFILER_PLAN.json @@ -0,0 +1,107 @@ +{ + "name": "PSA_PROFILER_PLAN", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "Y" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Plan_Desc", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Renewal_Plan_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_USERMANAGED_SEGMENT.json b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_USERMANAGED_SEGMENT.json new file mode 100644 index 0000000..8a07748 --- /dev/null +++ b/TEAM/Files/PhysicalModel/150_Persistent_Staging_Area/dbo/PSA_USERMANAGED_SEGMENT.json @@ -0,0 +1,97 @@ +{ + "name": "PSA_USERMANAGED_SEGMENT", + "database": "150_Persistent_Staging_Area", + "schema": "dbo", + "columns": [ + { + "name": "MODULE_INSTANCE_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "Y" + }, + { + "name": "EVENT_DATETIME", + "dataType": "8", + "characterLength": "datetime2", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "4", + "characterLength": "int", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "CDC_OPERATION", + "dataType": "100", + "characterLength": "varchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "16", + "characterLength": "binary", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "Demographic_Segment_Code", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "Demographic_Segment_Description", + "dataType": "100", + "characterLength": "nvarchar", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_CUSTOMER.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_CUSTOMER.json new file mode 100644 index 0000000..79c88f3 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_CUSTOMER.json @@ -0,0 +1,57 @@ +{ + "name": "HUB_CUSTOMER", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "CUSTOMER_ID", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CUSTOMER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_INCENTIVE_OFFER.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_INCENTIVE_OFFER.json new file mode 100644 index 0000000..f09ac85 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_INCENTIVE_OFFER.json @@ -0,0 +1,57 @@ +{ + "name": "HUB_INCENTIVE_OFFER", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "INCENTIVE_OFFER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "OFFER_ID", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_MEMBERSHIP_PLAN.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_MEMBERSHIP_PLAN.json new file mode 100644 index 0000000..c81b839 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_MEMBERSHIP_PLAN.json @@ -0,0 +1,67 @@ +{ + "name": "HUB_MEMBERSHIP_PLAN", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "MEMBERSHIP_PLAN_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "PLAN_CODE", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "PLAN_SUFFIX", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_SEGMENT.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_SEGMENT.json new file mode 100644 index 0000000..c5ac207 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/HUB_SEGMENT.json @@ -0,0 +1,57 @@ +{ + "name": "HUB_SEGMENT", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "SEGMENT_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SEGMENT_CODE", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_CUSTOMER_COSTING.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_CUSTOMER_COSTING.json new file mode 100644 index 0000000..ae94e9f --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_CUSTOMER_COSTING.json @@ -0,0 +1,77 @@ +{ + "name": "LNK_CUSTOMER_COSTING", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "CUSTOMER_COSTING_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "MEMBERSHIP_PLAN_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CUSTOMER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SEGMENT_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_CUSTOMER_OFFER.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_CUSTOMER_OFFER.json new file mode 100644 index 0000000..96817a1 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_CUSTOMER_OFFER.json @@ -0,0 +1,67 @@ +{ + "name": "LNK_CUSTOMER_OFFER", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "CUSTOMER_OFFER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CUSTOMER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "INCENTIVE_OFFER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_MEMBERSHIP.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_MEMBERSHIP.json new file mode 100644 index 0000000..2f8930c --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_MEMBERSHIP.json @@ -0,0 +1,77 @@ +{ + "name": "LNK_MEMBERSHIP", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "MEMBERSHIP_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CUSTOMER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "MEMBERSHIP_PLAN_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SALES_CHANNEL", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_RENEWAL_MEMBERSHIP.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_RENEWAL_MEMBERSHIP.json new file mode 100644 index 0000000..6f83214 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LNK_RENEWAL_MEMBERSHIP.json @@ -0,0 +1,67 @@ +{ + "name": "LNK_RENEWAL_MEMBERSHIP", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "RENEWAL_MEMBERSHIP_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "MEMBERSHIP_PLAN_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RENEWAL_PLAN_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_CUSTOMER_COSTING.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_CUSTOMER_COSTING.json new file mode 100644 index 0000000..32f1076 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_CUSTOMER_COSTING.json @@ -0,0 +1,97 @@ +{ + "name": "LSAT_CUSTOMER_COSTING", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "CUSTOMER_COSTING_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "COSTING_EFFECTIVE_DATE", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "PERSONAL_MONTHLY_COST", + "dataType": "numeric", + "characterLength": "17", + "numericPrecision": "38", + "numericScale": "20", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_CUSTOMER_OFFER.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_CUSTOMER_OFFER.json new file mode 100644 index 0000000..2246788 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_CUSTOMER_OFFER.json @@ -0,0 +1,77 @@ +{ + "name": "LSAT_CUSTOMER_OFFER", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "CUSTOMER_OFFER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_MEMBERSHIP.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_MEMBERSHIP.json new file mode 100644 index 0000000..7d52f17 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/LSAT_MEMBERSHIP.json @@ -0,0 +1,107 @@ +{ + "name": "LSAT_MEMBERSHIP", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "MEMBERSHIP_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "MEMBERSHIP_START_DATE", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "MEMBERSHIP_END_DATE", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "MEMBERSHIP_STATUS", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_CUSTOMER.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_CUSTOMER.json new file mode 100644 index 0000000..372c01d --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_CUSTOMER.json @@ -0,0 +1,157 @@ +{ + "name": "SAT_CUSTOMER", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "CUSTOMER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "GIVEN_NAME", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SURNAME", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SUBURB", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "POSTCODE", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "COUNTRY", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "GENDER", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 13, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "DATE_OF_BIRTH", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 14, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "REFERRAL_OFFER_MADE_INDICATOR", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 15, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_CUSTOMER_ADDITIONAL_DETAILS.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_CUSTOMER_ADDITIONAL_DETAILS.json new file mode 100644 index 0000000..124a575 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_CUSTOMER_ADDITIONAL_DETAILS.json @@ -0,0 +1,97 @@ +{ + "name": "SAT_CUSTOMER_ADDITIONAL_DETAILS", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "CUSTOMER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CONTACT_NUMBER", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "STATE", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_INCENTIVE_OFFER.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_INCENTIVE_OFFER.json new file mode 100644 index 0000000..4559fa8 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_INCENTIVE_OFFER.json @@ -0,0 +1,87 @@ +{ + "name": "SAT_INCENTIVE_OFFER", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "INCENTIVE_OFFER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "OFFER_DESCRIPTION", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_MEMBERSHIP_PLAN_DETAIL.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_MEMBERSHIP_PLAN_DETAIL.json new file mode 100644 index 0000000..c55e912 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_MEMBERSHIP_PLAN_DETAIL.json @@ -0,0 +1,87 @@ +{ + "name": "SAT_MEMBERSHIP_PLAN_DETAIL", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "MEMBERSHIP_PLAN_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "PLAN_DESCRIPTION", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_MEMBERSHIP_PLAN_VALUATION.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_MEMBERSHIP_PLAN_VALUATION.json new file mode 100644 index 0000000..09461a8 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_MEMBERSHIP_PLAN_VALUATION.json @@ -0,0 +1,97 @@ +{ + "name": "SAT_MEMBERSHIP_PLAN_VALUATION", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "MEMBERSHIP_PLAN_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "PLAN_VALUATION_DATE", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "Y" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 3, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "PLAN_VALUATION_AMOUNT", + "dataType": "numeric", + "characterLength": "17", + "numericPrecision": "38", + "numericScale": "20", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_SEGMENT.json b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_SEGMENT.json new file mode 100644 index 0000000..b25a402 --- /dev/null +++ b/TEAM/Files/PhysicalModel/200_Integration_Layer/dbo/SAT_SEGMENT.json @@ -0,0 +1,87 @@ +{ + "name": "SAT_SEGMENT", + "database": "200_Integration_Layer", + "schema": "dbo", + "columns": [ + { + "name": "SEGMENT_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "LOAD_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 2, + "primaryKeyIndicator": "Y", + "multiActiveIndicator": "N" + }, + { + "name": "MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SOURCE_ROW_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "RECORD_SOURCE", + "dataType": "varchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "HASH_FULL_RECORD", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SEGMENT_DESCRIPTION", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Files/PhysicalModel/300_Presentation_Layer/dbo/DIM_CUSTOMER.json b/TEAM/Files/PhysicalModel/300_Presentation_Layer/dbo/DIM_CUSTOMER.json new file mode 100644 index 0000000..c44cc94 --- /dev/null +++ b/TEAM/Files/PhysicalModel/300_Presentation_Layer/dbo/DIM_CUSTOMER.json @@ -0,0 +1,187 @@ +{ + "name": "DIM_CUSTOMER", + "database": "300_Presentation_Layer", + "schema": "dbo", + "columns": [ + { + "name": "DIM_CUSTOMER_SK", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 1, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "INSERT_MODULE_INSTANCE_ID", + "dataType": "int", + "characterLength": "4", + "numericPrecision": "10", + "numericScale": "0", + "ordinalPosition": 2, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CHECKSUM_TYPE1", + "dataType": "char", + "characterLength": "32", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 3, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CHECKSUM_TYPE2", + "dataType": "char", + "characterLength": "32", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 4, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CHANGE_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 5, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CHANGE_EXPIRY_DATETIME", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 6, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CDC_OPERATION", + "dataType": "varchar", + "characterLength": "1", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 7, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CUSTOMER_SK", + "dataType": "binary", + "characterLength": "16", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 8, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CUSTOMER_ID", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 9, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "GIVEN_NAME", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 10, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SURNAME", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 11, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "GENDER", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 12, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "SUBURB", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 13, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "POSTCODE", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 14, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "COUNTRY", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 15, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "DATE_OF_BIRTH", + "dataType": "datetime2", + "characterLength": "8", + "numericPrecision": "27", + "numericScale": "7", + "ordinalPosition": 16, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "CONTACT_NUMBER", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 17, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + }, + { + "name": "STATE", + "dataType": "nvarchar", + "characterLength": "100", + "numericPrecision": "0", + "numericScale": "0", + "ordinalPosition": 18, + "primaryKeyIndicator": "N", + "multiActiveIndicator": "N" + } + ] +} \ No newline at end of file diff --git a/TEAM/Form_Repository.cs b/TEAM/Form_Repository.cs index 89b5453..d8506f8 100644 --- a/TEAM/Form_Repository.cs +++ b/TEAM/Form_Repository.cs @@ -5,6 +5,8 @@ using System.IO; using System.Windows.Forms; using TEAM_Library; +using Windows.UI.Xaml.Shapes; +using Path = System.IO.Path; namespace TEAM { @@ -404,14 +406,16 @@ private void backgroundWorkerMetadata_DoWork(object sender, DoWorkEventArgs e) } else { - // Create the sample data - _alertSampleJsonMetadata.SetTextLogging("Commencing sample source-to-target metadata creation.\r\n\r\n"); - try { Dictionary fileDictionary = new Dictionary(); - // First, figure out which files to process + #region Metadata files + + // Create the sample data + _alertSampleJsonMetadata.SetTextLogging("Commencing sample source-to-target metadata creation.\r\n\r\n"); + + // First, figure out which files to process. foreach (var filePath in Directory.EnumerateFiles(globalParameters.FilesPath, "*.json")) { var fileName = Path.GetFileName(filePath); @@ -434,6 +438,36 @@ private void backgroundWorkerMetadata_DoWork(object sender, DoWorkEventArgs e) _alertSampleJsonMetadata.SetTextLogging("\r\nThis metadata will populate the data grids in the 'metadata mapping' screen, but not create any data structures in a database."); _alertSampleJsonMetadata.SetTextLogging("\r\nIn other words, this is just the source-target mapping metadata (dataObjectsMappings and dataItemMappings)."); + #endregion + + #region Physical Model files + + fileDictionary.Clear(); + + _alertSampleJsonMetadata.SetTextLogging("\r\nCommencing sample physical model metadata creation.\r\n\r\n"); + + + foreach (var filePath in Directory.EnumerateFiles(globalParameters.FilesPath+@"\PhysicalModel\", "*.json", SearchOption.AllDirectories)) + { + var fileName = Path.GetFileName(filePath); + var connectionName = Directory.GetParent(filePath).Parent; + + if (!Directory.Exists(globalParameters.MetadataPath + $@"PhysicalModel\{connectionName}\dbo\")) + { + Directory.CreateDirectory(globalParameters.MetadataPath + $@"PhysicalModel\{connectionName}\dbo\"); + } + + var destinationPath = globalParameters.MetadataPath + $@"PhysicalModel\{connectionName}\dbo\" + fileName; + + File.Copy(filePath, destinationPath, true); + _alertSampleJsonMetadata.SetTextLogging($"Created sample physical model Json file '{fileName}' in {destinationPath}."); + _alertSampleJsonMetadata.SetTextLogging("\r\n"); + } + + _alertSampleJsonMetadata.SetTextLogging("\r\nThis metadata provide a physical model snapshot. Alternatively, this can be reverse-engineered from the database."); + + #endregion + #region Configuration Settings diff --git a/TEAM/TEAM.csproj b/TEAM/TEAM.csproj index 3357c5f..573e1cb 100644 --- a/TEAM/TEAM.csproj +++ b/TEAM/TEAM.csproj @@ -346,6 +346,129 @@ Always + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + + + Always + diff --git a/Team_Library/TeamDataObjectMappingsFileCombination.cs b/Team_Library/TeamDataObjectMappingsFileCombination.cs index 57b2b79..7ddaef0 100644 --- a/Team_Library/TeamDataObjectMappingsFileCombination.cs +++ b/Team_Library/TeamDataObjectMappingsFileCombination.cs @@ -134,7 +134,7 @@ public void GetMetadata(GlobalParameters globalParameters) { var dataObjectMappings = JsonConvert.DeserializeObject(jsonInput); - if (dataObjectMappings == null || dataObjectMappings.dataObjectMappings.Count == 0) + if (dataObjectMappings == null || dataObjectMappings.dataObjectMappings == null || dataObjectMappings.dataObjectMappings.Count == 0) { EventLog.Add(Event.CreateNewEvent(EventTypes.Warning, $"The file {fileName} could not be loaded.")); }