|
| 1 | +{ |
| 2 | + "Columns": [ |
| 3 | + { |
| 4 | + "AllowedValues": null, |
| 5 | + "DataType": "int", |
| 6 | + "Definition": "The AddressID column in the SalesLT.Address entity contains unique identifier values for each address record within the table. The data is represented as integer values, which are incremented to ensure each AddressID is unique. This column is likely used as a primary key to distinguish each address entry and to enable efficient querying and indexing of address data.", |
| 7 | + "Name": "AddressID", |
| 8 | + "SampleValues": [ |
| 9 | + 541, |
| 10 | + 1019, |
| 11 | + 548, |
| 12 | + 1100, |
| 13 | + 1023 |
| 14 | + ] |
| 15 | + }, |
| 16 | + { |
| 17 | + "AllowedValues": null, |
| 18 | + "DataType": "nvarchar", |
| 19 | + "Definition": "The AddressLine1 column in the SalesLT.Address entity contains the primary address information, typically including the street number and name. The values can also include additional details such as suite or floor numbers. The addresses may follow various formats and can include special characters or abbreviations, reflecting different address conventions and layouts. This column is used to store the main part of the physical address for a location.", |
| 20 | + "Name": "AddressLine1", |
| 21 | + "SampleValues": [ |
| 22 | + "399 Clearing Green", |
| 23 | + "595 Burning Street", |
| 24 | + "2500-622 5th Ave Sw", |
| 25 | + "600 Boul. Rene-levesque Ouest", |
| 26 | + "6th Floor Ferguson Block" |
| 27 | + ] |
| 28 | + }, |
| 29 | + { |
| 30 | + "AllowedValues": null, |
| 31 | + "DataType": "nvarchar", |
| 32 | + "Definition": "The AddressLine2 column in the SalesLT.Address entity contains secondary address information which often includes building names, suite numbers, or P.O. Box numbers. The values in this column typically complement the primary address line by providing additional details that aid in locating a specific address. This column may contain a variety of formats and abbreviations relevant to secondary address components.", |
| 33 | + "Name": "AddressLine2", |
| 34 | + "SampleValues": [ |
| 35 | + "Raven House, Kingsgate", |
| 36 | + "Ste 1071", |
| 37 | + "Suite 2501", |
| 38 | + "P.O. Box 803", |
| 39 | + "Box 8033" |
| 40 | + ] |
| 41 | + }, |
| 42 | + { |
| 43 | + "AllowedValues": null, |
| 44 | + "DataType": "nvarchar", |
| 45 | + "Definition": "The City column in the SalesLT.Address entity contains the names of cities where addresses are located. The values are typically in the form of full city names and are used to specify the municipality in which a particular address is situated. This column does not follow any specific standard format other than being a string representation of city names. The city names can vary widely based on geographic location.", |
| 46 | + "Name": "City", |
| 47 | + "SampleValues": [ |
| 48 | + "Westminster", |
| 49 | + "Whittier", |
| 50 | + "Trabuco Canyon", |
| 51 | + "Escondido", |
| 52 | + "Birmingham" |
| 53 | + ] |
| 54 | + }, |
| 55 | + { |
| 56 | + "AllowedValues": null, |
| 57 | + "DataType": "nvarchar", |
| 58 | + "Definition": "The StateProvince column in the SalesLT.Address entity contains the names of states or provinces in the United States. The values are represented as full state names in English. This column is used to specify the state or province part of an address within the United States.", |
| 59 | + "Name": "StateProvince", |
| 60 | + "SampleValues": [ |
| 61 | + "Utah", |
| 62 | + "California", |
| 63 | + "Washington", |
| 64 | + "Texas", |
| 65 | + "Minnesota" |
| 66 | + ] |
| 67 | + }, |
| 68 | + { |
| 69 | + "AllowedValues": null, |
| 70 | + "DataType": "nvarchar", |
| 71 | + "Definition": "The CountryRegion column in the SalesLT.Address entity contains a list of country or region names where the addresses are located. The values represent the full names of countries or regions. This column helps to identify the geographical location associated with each address entry. Examples include names such as 'United States', 'United Kingdom', and 'Canada'.", |
| 72 | + "Name": "CountryRegion", |
| 73 | + "SampleValues": [ |
| 74 | + "United States", |
| 75 | + "United Kingdom", |
| 76 | + "Canada" |
| 77 | + ] |
| 78 | + }, |
| 79 | + { |
| 80 | + "AllowedValues": null, |
| 81 | + "DataType": "nvarchar", |
| 82 | + "Definition": "The PostalCode column in the SalesLT.Address entity contains postal codes, which are numerical codes used by postal services to identify specific geographic regions or delivery routes. The values are typically composed of five digits. This column is used to facilitate mail sorting and delivery as well as location-based services within the database. The values follow the pattern of US ZIP Codes.", |
| 83 | + "Name": "PostalCode", |
| 84 | + "SampleValues": [ |
| 85 | + "90712", |
| 86 | + "64106", |
| 87 | + "92335", |
| 88 | + "63103", |
| 89 | + "92867" |
| 90 | + ] |
| 91 | + }, |
| 92 | + { |
| 93 | + "AllowedValues": null, |
| 94 | + "DataType": "uniqueidentifier", |
| 95 | + "Definition": "The rowguid column in the SalesLT.Address entity contains unique identifier values in the form of UUIDs (Universally Unique Identifiers). These values are 36-character strings formatted as 8-4-4-4-12 and are used to uniquely distinguish each record in the table. This ensures that each address entry has a distinct and non-repeating identifier, regardless of the data's context or usage. The use of UUIDs provides a method for uniquely identifying records in a distributed environment.", |
| 96 | + "Name": "rowguid", |
| 97 | + "SampleValues": [ |
| 98 | + "C15ECA9A-6054-40E4-8D09-D4341AABCE2D", |
| 99 | + "6D2D6846-3F17-474E-8D31-AD3A59C0CEB0", |
| 100 | + "3438AFB3-390C-48D5-8CCF-5438278D981D", |
| 101 | + "6D6A8E1A-FFD8-4D2D-A70D-88467049A880", |
| 102 | + "726819A8-1B02-4EFD-AEB9-3FD801D9F153" |
| 103 | + ] |
| 104 | + }, |
| 105 | + { |
| 106 | + "AllowedValues": null, |
| 107 | + "DataType": "datetime", |
| 108 | + "Definition": "The ModifiedDate column in the SalesLT.Address entity contains timestamps indicating the date and time when each address record was last modified. The values are in the format 'YYYY-MM-DD HH:MM:SS', which includes both the date and time. This column is used to track changes and updates to the address data over time.", |
| 109 | + "Name": "ModifiedDate", |
| 110 | + "SampleValues": [ |
| 111 | + "2006-10-01 00:00:00", |
| 112 | + "2007-09-01 00:00:00", |
| 113 | + "2007-06-01 00:00:00", |
| 114 | + "2006-03-01 00:00:00", |
| 115 | + "2006-09-01 00:00:00" |
| 116 | + ] |
| 117 | + } |
| 118 | + ], |
| 119 | + "CompleteEntityRelationshipsGraph": [ |
| 120 | + "SalesLT.Address -> SalesLT.CustomerAddress", |
| 121 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer", |
| 122 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer -> SalesLT.SalesOrderHeader", |
| 123 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer -> SalesLT.SalesOrderHeader -> SalesLT.SalesOrderDetail", |
| 124 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer -> SalesLT.SalesOrderHeader -> SalesLT.SalesOrderDetail -> SalesLT.Product", |
| 125 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer -> SalesLT.SalesOrderHeader -> SalesLT.SalesOrderDetail -> SalesLT.Product -> SalesLT.ProductCategory", |
| 126 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer -> SalesLT.SalesOrderHeader -> SalesLT.SalesOrderDetail -> SalesLT.Product -> SalesLT.ProductModel", |
| 127 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer -> SalesLT.SalesOrderHeader -> SalesLT.SalesOrderDetail -> SalesLT.Product -> SalesLT.ProductModel -> SalesLT.ProductModelProductDescription", |
| 128 | + "SalesLT.Address -> SalesLT.CustomerAddress -> SalesLT.Customer -> SalesLT.SalesOrderHeader -> SalesLT.SalesOrderDetail -> SalesLT.Product -> SalesLT.ProductModel -> SalesLT.ProductModelProductDescription -> SalesLT.ProductDescription" |
| 129 | + ], |
| 130 | + "Database": "AdventureWorksLT", |
| 131 | + "Definition": "The SalesLT.Address entity stores information about customer addresses. It includes details such as the street address, city, state or province, country or region, and postal code. This entity can be used to answer questions related to customer locations, shipping addresses, and regional sales analysis. It also tracks when and by whom the address information was last modified.", |
| 132 | + "Entity": "SalesLT.Address", |
| 133 | + "EntityName": "Customer Address Information", |
| 134 | + "EntityRelationships": [ |
| 135 | + { |
| 136 | + "ForeignEntity": "SalesLT.CustomerAddress", |
| 137 | + "ForeignKeys": [ |
| 138 | + { |
| 139 | + "Column": "AddressID", |
| 140 | + "ForeignColumn": "AddressID" |
| 141 | + } |
| 142 | + ] |
| 143 | + }, |
| 144 | + { |
| 145 | + "ForeignEntity": "SalesLT.SalesOrderHeader", |
| 146 | + "ForeignKeys": [ |
| 147 | + { |
| 148 | + "Column": "AddressID", |
| 149 | + "ForeignColumn": "BillToAddressID" |
| 150 | + }, |
| 151 | + { |
| 152 | + "Column": "AddressID", |
| 153 | + "ForeignColumn": "BillToAddressID" |
| 154 | + }, |
| 155 | + { |
| 156 | + "Column": "AddressID", |
| 157 | + "ForeignColumn": "BillToAddressID" |
| 158 | + }, |
| 159 | + { |
| 160 | + "Column": "AddressID", |
| 161 | + "ForeignColumn": "ShipToAddressID" |
| 162 | + } |
| 163 | + ] |
| 164 | + } |
| 165 | + ], |
| 166 | + "Warehouse": null |
| 167 | +} |
0 commit comments