{
  "run_id": "1778062072309-pdf",
  "generated_at": "2026-05-06T10:10:15.455680+00:00",
  "renames": [],
  "merges": [
    {
      "section": "entities",
      "canonical": "Order",
      "merged_from": [
        "PurchaseOrder"
      ],
      "method": "alias_or_fuzzy"
    }
  ],
  "additions": [
    {
      "section": "entities.fields",
      "parent": "AdvancedShipmentNotice",
      "item_name": "id",
      "reason": "primary key (synthesized)",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "AdvancedShipmentNotice",
      "item_name": "updatedAt",
      "reason": "standard timestamp field",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "AsnLineItem",
      "item_name": "id",
      "reason": "primary key (synthesized)",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "AsnLineItem",
      "item_name": "createdAt",
      "reason": "standard timestamp field",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "AsnLineItem",
      "item_name": "updatedAt",
      "reason": "standard timestamp field",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "DoorMaster",
      "item_name": "id",
      "reason": "primary key (synthesized)",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "ReceivingConfirmationReport",
      "item_name": "id",
      "reason": "primary key (synthesized)",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "ReceivingConfirmationReport",
      "item_name": "createdAt",
      "reason": "standard timestamp field",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "ReceivingConfirmationReport",
      "item_name": "updatedAt",
      "reason": "standard timestamp field",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "Supplier",
      "item_name": "id",
      "reason": "primary key (synthesized)",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "Supplier",
      "item_name": "createdAt",
      "reason": "standard timestamp field",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "Supplier",
      "item_name": "updatedAt",
      "reason": "standard timestamp field",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "Order",
      "item_name": "id",
      "reason": "primary key (synthesized)",
      "pattern": "standard_field_injection"
    },
    {
      "section": "workflows",
      "item_name": "advancedshipmentnotice_lifecycle",
      "reason": "AdvancedShipmentNotice.status enum values imply lifecycle workflow",
      "pattern": "status_lifecycle"
    }
  ],
  "dropped": [
    {
      "section": "unknowns",
      "item_name": "Approval comments \u2014 Approve button visible but no comment in",
      "reason": "confidence 0.35 < 0.4",
      "confidence": 0.35
    },
    {
      "section": "unknowns",
      "item_name": "Approval comments \u2014 Approve button visible but no comment in",
      "reason": "confidence 0.35 < 0.4",
      "confidence": 0.35
    }
  ],
  "warnings": [],
  "patterns_detected": [
    "detect_status_lifecycle"
  ],
  "validation_summary": {
    "overall_passed": true,
    "critical_count": 0,
    "error_count": 0,
    "warn_count": 0,
    "checks": [
      {
        "name": "has_entities",
        "passed": true,
        "severity": "info",
        "detail": "6 entities present",
        "affected": []
      },
      {
        "name": "every_entity_has_pk",
        "passed": true,
        "severity": "info",
        "detail": "all entities have a primary key",
        "affected": []
      },
      {
        "name": "fk_integrity",
        "passed": true,
        "severity": "info",
        "detail": "all 2 FK references resolve",
        "affected": []
      },
      {
        "name": "workflow_consistency",
        "passed": true,
        "severity": "info",
        "detail": "all workflow states + transitions consistent",
        "affected": []
      },
      {
        "name": "no_duplicate_entities",
        "passed": true,
        "severity": "info",
        "detail": "no duplicates",
        "affected": []
      },
      {
        "name": "field_types_canonical",
        "passed": true,
        "severity": "info",
        "detail": "all 28 fields use canonical types",
        "affected": []
      },
      {
        "name": "rule_binding",
        "passed": true,
        "severity": "info",
        "detail": "all 6 rules bound to entity/field",
        "affected": []
      }
    ]
  },
  "layer3_decisions": [],
  "layer3_calls": 0,
  "layer3_cost_usd": 0.0
}