{
  "run_id": "1778061157939-pdf",
  "generated_at": "2026-05-06T09:54:56.822684+00:00",
  "renames": [
    {
      "section": "entities",
      "from": "StandardASN",
      "to": "StandardAsn",
      "reason": "PascalCase normalization"
    },
    {
      "section": "entities",
      "from": "LocalASN",
      "to": "LocalAsn",
      "reason": "PascalCase normalization"
    }
  ],
  "merges": [],
  "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": "StandardAsn",
      "item_name": "id",
      "reason": "primary key (synthesized)",
      "pattern": "standard_field_injection"
    },
    {
      "section": "entities.fields",
      "parent": "LocalAsn",
      "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": "7 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 30 fields use canonical types",
        "affected": []
      },
      {
        "name": "rule_binding",
        "passed": true,
        "severity": "info",
        "detail": "all 7 rules bound to entity/field",
        "affected": []
      }
    ]
  },
  "layer3_decisions": [],
  "layer3_calls": 0,
  "layer3_cost_usd": 0.0
}