Guide
A retail data dictionary from your schema
DictionaryLeap can draft a data dictionary from a spreadsheet, a column catalog, or a SQL schema. The optional industry field is a preset, not a free-text hint. Healthcare, financial services, and retail each add terms, sensitivity rules, and taxonomy domains. The rules engine uses that preset when no language model is configured and when a model call fails.
Use this page for retail and ecommerce tables: orders, customers, products, inventory, and loyalty. The Retail preset covers commerce (the customer, the order, the invoice, and the payment), the catalog (the product), and checkout (how the shopper pays, and where the goods are sent). Definitions are plain sentences written for this product. They are drafts for a data owner to confirm.
schema.org type names are cited under CC BY-SA 3.0. Definitions are DictionaryLeap wording, not schema.org text. GS1 is named only, and its content is not copied. A sensitivity tag is potential. It is not legal advice, and it is not a determination under any regulation.
The free preview shows the first 25 columns and the first glossary domain. One table up to 200 columns is $49. Several tables, or more than 200 columns, is $249, up to 50 tables and 2,000 columns. DictionaryLeap picks the pack from the file. You do not choose a price. Each pack is a one-time price for that upload. It is not a subscription, and nothing renews. The Retail preset does not change the price of the $49 Dataset Pack or the $249 Database Pack.
The free 25-column preview is on the DictionaryLeap homepage. It shows the first 25 columns and the first glossary domain. Exports stay off.
Related guides: Healthcare data dictionary and Financial services data dictionary.
How to document the tables
Write one plain sentence per column. Say what the column holds, and say what the owner should confirm. Say which party a personal column belongs to, such as the customer or the shipment.
Orders: one row is one request to supply goods or services. It is separate from the customer and from each invoice. order_id identifies that request. Confirm what starts and ends an order in this schema.
Customers: a person or organization the shop sells to or serves. Confirm whether this dataset uses customer, account, and contact for the same party. Email, phone, and street address belong here when they are the customer's. A delivery address may belong to the shipment instead. The sentence should say which one.
Products: a good or service the shop sells. sku or gtin is the identifier in the seller's catalog. GS1 is a common issuer of product codes. This draft does not reproduce GS1 content.
Inventory: state the grain in the description. One row might be one product at one location, or one product for the whole shop. The owner confirms that. quantity_on_hand is a count. Confirm whether it is on hand, available to sell, or reserved. The preset does not add an Inventory group. A column named sku or product on that table can match Catalog.
Loyalty: loyalty_id is an identifier for a loyalty account. Confirm whether it is the same person as the customer. The preset tags that name as internal, not restricted.
Sensitivity flags
Email, phone, and street address are the personal columns this page is about. Those flags come from shared name checks. They run when Retail is selected. The Retail preset adds gift card, loyalty, and payment token rules. A tag is potential, not legal advice, and not a determination under any regulation.
- Confidential, Email address: email.
- Confidential, Phone number: phone, mobile, cell, fax, or tel.
- Confidential, Physical address: street, address, or addr. A column named ip address is an IP address, not a street address.
- Internal, Postal code: zip, postal, or postcode.
- Confidential, Stored value: gift card or giftcard. This is the preset rule. The draft does not assume the column holds a full payment card number.
- Internal, Loyalty identifier: loyalty. This is the preset rule.
- Restricted, Payment credential: payment token or card token. This is the preset rule.
- Restricted, Payment card: card number, credit card, pan, cvv, or cvc. This is a shared check for full card data. A last-four name is confidential, Payment card (last four only), and is not treated as the full number.
- Confidential, Person name: first name, last name, or full name. The single word name in customer_name is not enough for that check.
Taxonomy groups
The Retail preset has three groups. A group is used when a column or term matches. Example terms the preset can add are Customer, Order, Invoice, Payment, Product, and Shipment. Inventory is not its own group. If nothing matches, the draft can still use Commercial, People, Field operations, or General.
Standard references are schema.org type names under CC BY-SA 3.0. The sentence next to the reference is DictionaryLeap wording, not schema.org text. GS1 is named only.
- Commerce, when the name contains customer, order, invoice, payment, cart, or checkout. Reference: schema.org/Order (CC BY-SA 3.0).
- Catalog, when the name contains product, sku, gtin, or catalog. Reference: schema.org/Product (CC BY-SA 3.0). GS1 is named only.
- Checkout, when the name contains card, gift, loyalty, shipment, shipping, tender, or ship. Reference: schema.org/Offer (CC BY-SA 3.0).
Example schema
Fictional column catalog for this page. Not a customer schema. Types are labels for the example. The flag is what DictionaryLeap can raise from the column name when Retail is selected. None means no name rule matched. A person still confirms the row.
| Table | Column | Type | Description to aim for | Flag from the column name |
|---|---|---|---|---|
customers | email | text | Email address recorded for the customer. Confirm whether it is the address used for receipts. | Confidential (Email address) |
customers | phone | text | Phone number recorded for the customer. | Confidential (Phone number) |
customers | street_address | text | Street address recorded for the customer. Confirm whether this is a billing address or a delivery address. | Confidential (Physical address) |
orders | order_id | text | Identifier for one order. The order is separate from the customer and from each invoice. | None |
products | sku | text | Identifier for the product in the seller's catalog. GS1 is a common issuer of product codes. This draft does not reproduce GS1 content. | None |
inventory | quantity_on_hand | integer | Count of units recorded for the product. Confirm whether the column is on hand, available to sell, or reserved. | None |
loyalty | loyalty_id | text | Identifier for a loyalty account. Confirm whether it is the same person as the customer. | Internal (Loyalty identifier) |
What a good column description looks like
A good column description is one plain sentence. It names what the column holds, and it says what the owner should confirm. For a personal column, say whether the value belongs to the customer or to the shipment.
For sku, the Retail preset uses this sentence: Identifier for the product in the seller's catalog. GS1 is a common issuer of product codes. This draft does not reproduce GS1 content. That name does not raise a sensitivity flag. Email, phone, and street_address do. Those flags are confidential, and the sentence should still say which customer the value belongs to.
How to use the preset
Choose Retail
On the upload form, set the optional industry to Retail. Healthcare and Financial services have their own presets. Any other choice, and any value that is not on the list, uses the General preset. A typed value of ecommerce or e-commerce is stored as Retail.
Upload structure
Add a spreadsheet, a column catalog, or a SQL script for orders, customers, products, inventory, and loyalty. Profiling stays in the browser. Row values are sent only if you turn on the sample-values toggle.
Read the rules draft
The preset adds plain-language terms, taxonomy domains, and sensitivity rules. The rules engine applies them when no language model is configured and when a model call fails. Shared name checks for email, phone, and street address still run.
Confirm with the owner
Sensitivity tags are potential, not legal advice, and not a determination under any regulation. Low-confidence meanings are questions, not facts. Excel, CSV, and SKOS exports include the industry preset and a standard reference when a term has one.
What the export adds
Excel, the glossary CSV, and the SKOS file include two fields: industry preset and standard reference. The preset is Healthcare, Financial services, Retail, or General. The standard reference names a FHIR resource, a FIBO class path, or a schema.org type when the term came from a preset. The definition next to it is still DictionaryLeap wording.
Financial services uses FIBO, which is MIT. Retail uses schema.org type names. schema.org schemas are CC BY-SA 3.0, and this product does not copy schema.org text. GS1 is named only for product identifiers. Details are in the ATTRIBUTION file shipped with the repository.
Questions about a file or a charge: contact@logicalleap.io.
Industry presets
Healthcare, Financial services, and Retail each have a preset. Prefer not to say, Technology, Manufacturing, Public sector, Education, and Other use the General preset for now. A value that is not on the list is stored as General. The preset does not change the price or the column and table limits.
A preset can add terms, sensitivity flags, and taxonomy groups when column names match. Definitions are DictionaryLeap wording. Sensitivity tags are potential, not legal advice. The rules engine applies the preset when no language model is configured and when a model call fails. When a model is configured, the prompt includes the same preset.
Healthcare
- Taxonomy groups
- Patient, Encounter, Clinical record, and Coverage. Used when a column or term matches.
- Example terms
- Patient, Encounter, Condition, Medication, Observation, and Coverage. Added when a column name matches.
- Sensitivity flags
- Restricted: Health record identifier and PHI-like field. Confidential: Patient name, Clinical condition, Medication, Allergy, Clinical observation, and Coverage identifier.
- Standard referenced
- HL7 FHIR, cited under CC0 1.0. Definitions are DictionaryLeap wording. SNOMED CT and LOINC are named only, and their content is not copied.
Financial services
- Taxonomy groups
- Party, Account, and Payment instrument. Used when a column or term matches.
- Example terms
- Customer, Account, and Payment. Added when a column name matches.
- Sensitivity flags
- Restricted: Account number, Bank routing identifier, Taxpayer identifier, and Payment credential. Confidential: Account balance and Credit assessment.
- Standard referenced
- FIBO, under the MIT license. Definitions are DictionaryLeap wording, not FIBO text.
Retail
- Taxonomy groups
- Commerce, Catalog, and Checkout. Used when a column or term matches.
- Example terms
- Customer, Order, Invoice, Payment, Product, and Shipment. Added when a column name matches.
- Sensitivity flags
- Restricted: Payment credential. Confidential: Stored value. Internal: Loyalty identifier.
- Standard referenced
- schema.org types, under CC BY-SA 3.0. Definitions are DictionaryLeap wording, not schema.org text. GS1 is named only, and its content is not copied.
General
- Taxonomy groups
- Commercial, People, Field operations, and General. These are the default groups, not an industry list.
- Example terms
- None. None added by this preset.
- Sensitivity flags
- None added by this preset. Other name checks in the product can still flag a column.
- Standard referenced
- None. This preset does not add a standard reference.
How to pick one
On the upload form, use the Industry dropdown. It is optional. Choose Healthcare, Financial services, or Retail for a dedicated preset. Open the upload form.
What each pack includes
Free preview, $0
The preset is applied to the draft on screen. You see the first 25 columns, including sensitivity flags, and the first glossary domain with up to 4 terms. Exports stay off, so Industry preset and Standard reference are not downloaded.
Dataset Pack, $49
One table of up to 200 columns. A flat glossary plus one domain of the hierarchy, plus a glossary CSV and SKOS for that domain. Excel, the glossary CSV, and SKOS include Industry preset and Standard reference for that domain. Standard reference is filled when a column or term has one. Word and Markdown do not include those two fields.
Database Pack, $249
Up to 50 tables and 2,000 columns. The full glossary and taxonomy hierarchy, all parent and child checks, an Excel glossary sheet, a glossary CSV, and SKOS. Excel, the glossary CSV, and SKOS include Industry preset and Standard reference for that full taxonomy. Word and Markdown do not include those two fields.
Paid Excel files and the glossary CSV include columns named Industry preset and Standard reference. SKOS includes the same two fields. The Excel cover also names the industry preset.
Questions about a file or a charge: contact@logicalleap.io.