PCC Data visualisation

Load your JSON

PCC core build (PCC-Core-Build-Tables.json, PCC-Core-Build-Relationship-Register.json) ships with the PCC Build Visualiser and auto-loads from the same URL path over HTTP. PCC_Config artefacts—PCC-Accounts-Relationships.json (diagram) and PCC-Table-Columns.json (column registry)—are not shipped: load them with Choose JSON files or the Config / Table columns buttons (your PCC_Config extracts).

Load all at once

Upload PCC_Config: PCC-Accounts-Relationships.json, PCC-Table-Columns.json. Core build JSONs are optional here if already auto-loaded from the server.

    Or one at a time

    Load columns (PCC-Table-Columns.json) from Home or PCC_Config tables, or below. Then search column names, data types, business meaning, and references.

    Pattern counts, examples, and recommendations are aligned with DATABASE-COLUMN-NAMING-PATTERNS.md in the PCC build tool folder (pcc build tool\DATABASE-COLUMN-NAMING-PATTERNS.md).

    1. Scope of analysis

    2. Naming patterns identified

    Four distinct naming conventions were identified across the database.

    PatternCount%Definition
    ALL_UPPERCASE1,80767.3%All uppercase, no separators
    UPPER_SNAKE_CASE76228.4%Uppercase with underscores
    PascalCase1154.3%Leading cap per word, no separators
    other10.0%Mixed or invalid (e.g. typo)

    2.1 ALL_UPPERCASE (dominant)

    Definition

    All uppercase letters with no separators.

    Prevalence

    Characteristics

    Examples

    ACCOUNTID, CUSTOMERID, CALLDATE, PHONENUMBER, TXNBALANCE, RESPONSECODE, VALUATIONDATE

    Observations

    2.2 UPPER_SNAKE_CASE (secondary)

    Definition

    Uppercase letters with underscore separators between words.

    Prevalence

    Characteristics

    Examples

    CURRENT_VALUATION_AMT, ACCOUNT_SCORE, SECURITY_POST_CODE, CUSTOMER_TYPE, PURSUABLE_BALANCE, APPLICATION_START_DATE

    Observations

    2.3 PascalCase (view layer)

    Definition

    Each word starts with uppercase, no separators.

    Prevalence

    Characteristics

    Examples

    CustomerID, CustomerName, RouteName, SegmentName, SumOfArrears

    Observations

    2.4 Invalid or mixed pattern (other in source doc)

    Definition

    Inconsistent or erroneous naming.

    Prevalence

    Example

    APPlICATION_SCORE in PCC_ACCOUNTS (mixed casing typo; should be APPLICATION_SCORE)

    Observations

    3. Pattern distribution by table type

    3.1 Core PCC tables (PCC_*)

    Mix of ALL_UPPERCASE and UPPER_SNAKE_CASE; both patterns often exist within the same table.

    Example: PCC_ACCOUNTS (154 columns): 119 UPPER_SNAKE_CASE, 34 ALL_UPPERCASE, 1 other.

    3.2 Communications and transactional tables

    Example: PCC_COMMUNICATIONS (195 columns): 100% ALL_UPPERCASE. Heavy bias toward legacy-style naming.

    3.3 Migration tables (PCC_MIG_*)

    Predominantly ALL_UPPERCASE, likely aligned to source system ingestion formats.

    3.4 View tables (VWT_*)

    Predominantly PascalCase. Clear distinction between storage layer and presentation or derived layer.

    4. Key findings

    1. No single standard exists. Multiple naming conventions coexist; no enforced schema-wide rule.
    2. Mixed patterns within tables. Even core tables contain multiple naming styles, indicating incremental development and limited governance.
    3. Strong legacy influence. ALL_UPPERCASE dominates (~67%), suggesting older design practices and backward compatibility constraints.
    4. Layered naming behaviour. Base tables use uppercase conventions; view tables use PascalCase, implying separation between data storage and consumption layers.
    5. Data quality and control gaps. Typos and inconsistent casing appear; no strict enforcement mechanism is evident from naming alone.

    5. Suggested follow-up checks (duplicates and build hygiene)

    These are candidates for automation or manual review against PCC-Table-Columns.json and your ERD or registry.

    Recommendations from the source doc include standardizing new base columns on UPPER_SNAKE_CASE, fixing APPlICATION_SCORE, keeping PascalCase for VWT_* views, and documenting the convention in project standards.

    Build tables share foreign keys (for example ACCOUNTS.ROUTEID to ROUTES). Select a table to filter, or click a node to highlight links and see columns below.

    Build table columns

    Load Build tables and relationships JSON, then click a table in the diagram.