1. Size & Fit Recommendation
  2. Data Model
Reference

The tables behind Size & Fit Recommendation

Size & Fit Recommendation ships with 13 tables, grouped here by the feature that uses them. Every record your team works with lives in one of them, and you can add fields and tables in Proto.

Tables
13
Features
6
Change it
Add fields and tables in Proto

How the model is organised

Customers and Products

Customers references Organizations. Products retains SKU, base unit, Active and standard price USD. Team members references Organizations and Users.

Priced Sales

Sales orders references Organization, Owner and Counterparty. Sales lines references its order through Parent and retains SKU text, quantity and USD pricing components.

Fit Assessments

Fit assessments references sales orders and Organizations. Product size, assessed at, confidence percent and measurement consent retain the recommendation context.

Payments and Refunds

Payment evidence references the order and retains provider event ID, Type, amount USD, Verified and provider reference. Sales orders retains captured at and refunded USD for order-level context.

Fulfillment and Returns

Fulfillment events references sales orders and Products, with Quantity, event type and external event ID. Sales lines.returned units is a separate line-level value for review.

Reviews and Reconciliation

Review decisions and operation receipts reference sales orders. Record attachments references the order and uploaded by team member with visibility and evidence type.

Every table, by feature

Customers and Products

7 tablesAbout this feature
  • Customers

    Eligible customer parties with consented fit profiles

    Linked to Organizations
  • Products

    Apparel product catalog with standard pricing

  • Organizations

    Retail organizations operating the size and fit recommendation service

  • Team members

    Authenticated platform identities with operational role scope

    Linked to Organizations, Users
  • Users

    Users

    Linked to Users
  • Sales orders

    Priced sales orders carrying fit recommendation scope

    Linked to Organizations, Team members, Customers
  • Sales lines

    Product lines belonging to a sales order

    Linked to Sales orders

Priced Sales

8 tablesAbout this feature
  • Sales orders

    Priced sales orders carrying fit recommendation scope

    Linked to Organizations, Team members, Customers
  • Sales lines

    Product lines belonging to a sales order

    Linked to Sales orders
  • Customers

    Eligible customer parties with consented fit profiles

    Linked to Organizations
  • Products

    Apparel product catalog with standard pricing

  • Organizations

    Retail organizations operating the size and fit recommendation service

  • Team members

    Authenticated platform identities with operational role scope

    Linked to Organizations, Users
  • Payment evidence

    Verified provider authorization, capture, refund and void events

    Linked to Sales orders
  • Operation receipts

    Stable operation keys and persisted effect results

    Linked to Sales orders

Fit Assessments

8 tablesAbout this feature
  • Fit assessments

    Consented fit assessments and product size recommendations

    Linked to Sales orders, Organizations
  • Sales orders

    Priced sales orders carrying fit recommendation scope

    Linked to Organizations, Team members, Customers
  • Organizations

    Retail organizations operating the size and fit recommendation service

  • Review decisions

    Independent review decisions on submitted revisions

    Linked to Sales orders, Team members
  • Operation receipts

    Stable operation keys and persisted effect results

    Linked to Sales orders
  • Record attachments

    Evidence files attached to operational records

    Linked to Sales orders, Team members
  • Team members

    Authenticated platform identities with operational role scope

    Linked to Organizations, Users
  • Users

    Users

    Linked to Users

Payments and Refunds

5 tablesAbout this feature
  • Payment evidence

    Verified provider authorization, capture, refund and void events

    Linked to Sales orders
  • Sales orders

    Priced sales orders carrying fit recommendation scope

    Linked to Organizations, Team members, Customers
  • Review decisions

    Independent review decisions on submitted revisions

    Linked to Sales orders, Team members
  • Operation receipts

    Stable operation keys and persisted effect results

    Linked to Sales orders
  • Record attachments

    Evidence files attached to operational records

    Linked to Sales orders, Team members

Fulfillment and Returns

5 tablesAbout this feature
  • Fulfillment events

    Allocated, picked, shipped, delivered and returned events

    Linked to Sales orders, Products
  • Products

    Apparel product catalog with standard pricing

  • Sales orders

    Priced sales orders carrying fit recommendation scope

    Linked to Organizations, Team members, Customers
  • Sales lines

    Product lines belonging to a sales order

    Linked to Sales orders
  • Operation receipts

    Stable operation keys and persisted effect results

    Linked to Sales orders

Reviews and Reconciliation

9 tablesAbout this feature
  • Review decisions

    Independent review decisions on submitted revisions

    Linked to Sales orders, Team members
  • Operation receipts

    Stable operation keys and persisted effect results

    Linked to Sales orders
  • Sales orders

    Priced sales orders carrying fit recommendation scope

    Linked to Organizations, Team members, Customers
  • Fit assessments

    Consented fit assessments and product size recommendations

    Linked to Sales orders, Organizations
  • Payment evidence

    Verified provider authorization, capture, refund and void events

    Linked to Sales orders
  • Fulfillment events

    Allocated, picked, shipped, delivered and returned events

    Linked to Sales orders, Products
  • Record attachments

    Evidence files attached to operational records

    Linked to Sales orders, Team members
  • Team members

    Authenticated platform identities with operational role scope

    Linked to Organizations, Users
  • Users

    Users

    Linked to Users

Keys and references

Preserve the source Id values and Parent references. Fit assessments links to an order, while its product size is text; agree the assessed-product context before handling complex orders. Sales lines.SKU is also text, so resolve it to the intended catalog product before using a fulfillment events.Product reference. Agree how the product identity is carried from the assessment to its order lines and fulfillment events.

Use team members.User for authenticated identity. Bind review and execution to the correct source version and operation identity, since an order can have several actions. USD amount fields remain USD regardless of Organizations.Currency.

Migration order

  1. Load Organizations, resolve Users and create team members with the correct identity links.
  2. Import Customers and Products with reviewed codes and SK us.
  3. Import sales orders with valid owner, customer and organization references.
  4. Attach sales lines and resolve their intended catalog identities.
  5. Import fit assessments and record attachments with the correct order and uploader scope.
  6. Retain payment evidence and fulfillment events with their original external identifiers; importing history must not repeat provider or stock actions.
  7. Preserve review decisions and operation receipts with the source revisions and operation identities they originally describe.

Set up Size & Fit Recommendation your way.

Start free, then use Proto to change fields, steps and approvals before your team goes live.

How to get started