{
  "manifest": {
    "name": "ASN Workflow",
    "domain": "logistics",
    "type": "web",
    "extractor_version": "step02-v2",
    "model": "gpt-4o",
    "extracted_at": "2023-10-01T12:00:00Z"
  },
  "screens": [
    {
      "name": "Create ASN (Standard)",
      "provenance": {
        "slide_index": 2
      },
      "confidence": 0.7
    },
    {
      "name": "Create Local ASN",
      "provenance": {
        "slide_index": 3
      },
      "confidence": 0.7
    },
    {
      "name": "Unreserved ASN List",
      "provenance": {
        "slide_index": 5
      },
      "confidence": 0.7
    },
    {
      "name": "ASN Expanded (Multiple SKUs)",
      "provenance": {
        "slide_index": 6
      },
      "confidence": 0.7
    },
    {
      "name": "Reserved ASN View",
      "provenance": {
        "slide_index": 8
      },
      "confidence": 0.7
    },
    {
      "name": "At Door View",
      "provenance": {
        "slide_index": 10
      },
      "confidence": 0.7
    },
    {
      "name": "Closed ASN View",
      "provenance": {
        "slide_index": 12
      },
      "confidence": 0.7
    },
    {
      "name": "RCR Print Preview",
      "provenance": {
        "slide_index": 14
      },
      "confidence": 0.7
    }
  ],
  "layout": {
    "structure": "tabbed",
    "nav_position": "top",
    "header_present": true,
    "footer_present": false,
    "sidebar_present": false,
    "cart_position": "none"
  },
  "design_system": {
    "colors": {},
    "fonts": {},
    "spacing": {},
    "borders": {},
    "radius": {},
    "shadows": {},
    "button_styles": {},
    "input_styles": {}
  },
  "components": [
    {
      "name": "Create ASN button",
      "type": "button",
      "visible_text": "Create ASN",
      "behavior_hint": "Opens ASN creation modal",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 2
      }
    },
    {
      "name": "Create Local button",
      "type": "button",
      "visible_text": "Create Local",
      "behavior_hint": "Opens local ASN creation modal",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 3
      }
    },
    {
      "name": "Reserve Slots button",
      "type": "button",
      "visible_text": "Reserve Slots",
      "behavior_hint": "Reserves storage slots for SKUs",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 5
      }
    },
    {
      "name": "Print RCR button",
      "type": "button",
      "visible_text": "Print RCR",
      "behavior_hint": "Prints Receiving Confirmation Report",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 12
      }
    },
    {
      "name": "ASN List Table",
      "type": "table",
      "visible_text": "ASN List",
      "behavior_hint": "Displays list of ASNs",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 5
      }
    },
    {
      "name": "Search Bar",
      "type": "input",
      "visible_text": "Search",
      "behavior_hint": "Searches ASNs",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 5
      }
    },
    {
      "name": "Tab Navigation",
      "type": "other",
      "visible_text": "Unreserved, Reserved, At Door, Closed",
      "behavior_hint": "Navigates between ASN states",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 5
      }
    },
    {
      "name": "ASN Details Modal",
      "type": "modal",
      "visible_text": "Add ASN",
      "behavior_hint": "Displays ASN details for creation",
      "confidence": 0.9450000000000001,
      "provenance": {
        "slide_index": 2
      }
    },
    {
      "name": "Refresh Button",
      "type": "button",
      "visible_text": "Refresh",
      "behavior_hint": "Refreshes the ASN list",
      "confidence": 0.9,
      "provenance": {
        "slide_index": 5
      }
    },
    {
      "name": "Pagination Control",
      "type": "other",
      "visible_text": "Showing 10 of 1",
      "behavior_hint": "Controls the pagination of the ASN list",
      "confidence": 0.9,
      "provenance": {
        "slide_index": 5
      }
    },
    {
      "name": "Door Assignment Input",
      "type": "input",
      "visible_text": "Door Number",
      "behavior_hint": "Assigns a door for unloading",
      "confidence": 0.9,
      "provenance": {
        "slide_index": 9
      }
    },
    {
      "name": "ASN Completion Modal",
      "type": "modal",
      "visible_text": "ASN Completion",
      "behavior_hint": "Marks ASN as completed",
      "confidence": 0.9,
      "provenance": {
        "slide_index": 13
      }
    },
    {
      "name": "Container Number Input",
      "type": "input",
      "visible_text": "Container Number",
      "behavior_hint": "Input field for container number during ASN creation.",
      "confidence": 0.7,
      "provenance": {
        "slide_index": 2
      }
    },
    {
      "name": "Vendor Number Input",
      "type": "input",
      "visible_text": "Vendor Number",
      "behavior_hint": "Input field for vendor number during Local ASN creation.",
      "confidence": 0.7,
      "provenance": {
        "slide_index": 3
      }
    },
    {
      "name": "PO Details Table",
      "type": "table",
      "visible_text": "PO Details",
      "behavior_hint": "Table displaying purchase order details for ASN.",
      "confidence": 0.7,
      "provenance": {
        "slide_index": 2
      }
    }
  ],
  "content": {
    "nav_items": [
      "Unreserved",
      "Reserved",
      "At Door",
      "Closed"
    ],
    "headings": [
      "ASN Flow Overview",
      "Step 1: ASN Creation",
      "Step 2: Unreserved State",
      "Step 3: Reservation",
      "Step 4: Door Assignment",
      "Step 5: Completion",
      "Step 6: RCR Generation"
    ],
    "button_text": [
      "Create ASN",
      "Create Local",
      "Reserve Slots",
      "Print RCR"
    ],
    "column_names": [
      "PO",
      "UPC Number",
      "SKU",
      "UPC Description",
      "Cases",
      "Temp Zone",
      "Pallets"
    ],
    "empty_states": {},
    "error_messages": [],
    "helper_text": [],
    "copy": {},
    "placeholders": {}
  },
  "entities": [
    {
      "name": "AdvancedShipmentNotice",
      "table_name": "advanced_shipment_notice",
      "description": "An ASN sent by a supplier announcing inbound goods.",
      "fields": [
        {
          "name": "asnId",
          "type": "string",
          "required": true,
          "unique": true,
          "confidence": 0.95,
          "evidence": [
            {
              "text": "ASN ID",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "supplierId",
          "type": "uuid",
          "required": true,
          "confidence": 0.92,
          "evidence": [
            {
              "text": "Supplier",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "status",
          "type": "enum",
          "required": true,
          "values": [
            "unreserved",
            "reserved",
            "at door",
            "closed"
          ],
          "confidence": 0.9,
          "evidence": [
            {
              "text": "Status",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "createdAt",
          "type": "timestamptz",
          "required": true,
          "confidence": 0.85,
          "evidence": [
            {
              "text": "Created",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "poNumber",
          "type": "string",
          "required": true,
          "confidence": 0.92,
          "evidence": [
            {
              "text": "PO",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        }
      ],
      "relationships": [
        {
          "type": "many-to-one",
          "target": "Supplier",
          "foreign_key": "supplierId",
          "cascade": "restrict",
          "confidence": 0.92
        },
        {
          "type": "many-to-one",
          "target": "PurchaseOrder",
          "foreign_key": "poNumber",
          "cascade": "restrict",
          "confidence": 0.92
        }
      ],
      "source": "vision",
      "confidence": 0.9765000000000001,
      "provenance": [
        {
          "slide_index": 5,
          "text_source": "Unreserved ASN List"
        }
      ]
    },
    {
      "name": "AsnLineItem",
      "table_name": "asn_line_item",
      "description": "Line items within an ASN.",
      "fields": [
        {
          "name": "poNumber",
          "type": "string",
          "required": true,
          "confidence": 0.9,
          "evidence": [
            {
              "text": "PO",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "upcNumber",
          "type": "string",
          "required": true,
          "confidence": 0.9,
          "evidence": [
            {
              "text": "UPC Number",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "sku",
          "type": "string",
          "required": true,
          "confidence": 0.95,
          "evidence": [
            {
              "text": "SKU",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "quantity",
          "type": "integer",
          "required": true,
          "confidence": 0.92,
          "evidence": [
            {
              "text": "Cases",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        }
      ],
      "relationships": [
        {
          "type": "many-to-one",
          "target": "AdvancedShipmentNotice",
          "foreign_key": "asnId",
          "cascade": "restrict",
          "confidence": 0.9
        }
      ],
      "source": "vision",
      "confidence": 0.9765000000000001,
      "provenance": [
        {
          "slide_index": 5,
          "text_source": "ASN Expanded (Multiple SKUs)"
        },
        {
          "slide_index": 5,
          "text_source": "Unreserved ASN List"
        }
      ]
    },
    {
      "name": "DoorMaster",
      "table_name": "door_master",
      "description": "Master table for door assignments.",
      "fields": [
        {
          "name": "doorNumber",
          "type": "string",
          "required": true,
          "unique": true,
          "confidence": 0.95,
          "evidence": [
            {
              "text": "Door number",
              "slide_index": 9,
              "location": "text"
            }
          ]
        }
      ],
      "relationships": [],
      "source": "vision",
      "confidence": 0.9765000000000001,
      "provenance": [
        {
          "slide_index": 9,
          "text_source": "Step 4: Door Assignment"
        }
      ]
    },
    {
      "name": "ReceivingConfirmationReport",
      "table_name": "receiving_confirmation_report",
      "description": "Document generated after ASN closure.",
      "fields": [
        {
          "name": "rcrId",
          "type": "string",
          "required": true,
          "unique": true,
          "confidence": 0.95,
          "evidence": [
            {
              "text": "RCR",
              "slide_index": 14,
              "location": "text"
            }
          ]
        },
        {
          "name": "skuDetails",
          "type": "json",
          "required": true,
          "confidence": 0.9,
          "evidence": [
            {
              "text": "SKU details",
              "slide_index": 13,
              "location": "text"
            }
          ]
        },
        {
          "name": "vendorDetails",
          "type": "json",
          "required": true,
          "confidence": 0.9,
          "evidence": [
            {
              "text": "Vendor details",
              "slide_index": 13,
              "location": "text"
            }
          ]
        },
        {
          "name": "asnId",
          "type": "string",
          "required": true,
          "confidence": 0.92,
          "evidence": [
            {
              "text": "ASN ID",
              "slide_index": 14,
              "location": "text"
            }
          ]
        }
      ],
      "relationships": [
        {
          "type": "one-to-one",
          "target": "AdvancedShipmentNotice",
          "foreign_key": "asnId",
          "cascade": "restrict",
          "confidence": 0.92
        }
      ],
      "source": "vision",
      "confidence": 0.9765000000000001,
      "provenance": [
        {
          "slide_index": 14,
          "text_source": "RCR Print Preview"
        }
      ]
    },
    {
      "name": "Supplier",
      "table_name": "supplier",
      "description": "Entity representing suppliers providing goods.",
      "fields": [
        {
          "name": "supplierId",
          "type": "uuid",
          "required": true,
          "unique": true,
          "confidence": 0.85,
          "evidence": [
            {
              "text": "Supplier",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "supplierName",
          "type": "string",
          "required": true,
          "confidence": 0.85,
          "evidence": [
            {
              "text": "Vendor",
              "slide_index": 13,
              "location": "text"
            }
          ]
        }
      ],
      "relationships": [],
      "source": "vision",
      "confidence": 0.85,
      "provenance": [
        {
          "slide_index": 5,
          "text_source": "ASN Creation"
        }
      ]
    },
    {
      "name": "PurchaseOrder",
      "table_name": "purchase_order",
      "description": "Represents a purchase order used in ASN creation.",
      "fields": [
        {
          "name": "poNumber",
          "type": "string",
          "required": true,
          "unique": true,
          "confidence": 0.95,
          "evidence": [
            {
              "text": "PO",
              "slide_index": 5,
              "location": "table_column"
            }
          ]
        },
        {
          "name": "vendorId",
          "type": "uuid",
          "required": true,
          "confidence": 0.92,
          "evidence": [
            {
              "text": "Vendor",
              "slide_index": 12,
              "location": "table_column"
            }
          ]
        }
      ],
      "relationships": [],
      "source": "vision",
      "confidence": 0.9765000000000001,
      "provenance": [
        {
          "slide_index": 1,
          "text_source": "ASN can be created in two ways: - Standard ASN (via Purchase Orders)"
        },
        {
          "slide_index": 5,
          "text_source": "Unreserved ASN List"
        }
      ]
    }
  ],
  "workflows": [
    {
      "name": "asn_lifecycle",
      "states": [
        "Create",
        "Unreserved",
        "Reserved",
        "At Door",
        "Closed",
        "RCR"
      ],
      "initial_state": "Create",
      "transitions": [
        {
          "from_state": "Create",
          "to_state": "Unreserved",
          "trigger": "ASN creation submitted",
          "conditions": []
        },
        {
          "from_state": "Unreserved",
          "to_state": "Reserved",
          "trigger": "all SKUs reserved",
          "conditions": [
            "all_skus_reserved"
          ]
        },
        {
          "from_state": "Reserved",
          "to_state": "At Door",
          "trigger": "Door assignment from Door Master",
          "conditions": []
        },
        {
          "from_state": "At Door",
          "to_state": "Closed",
          "trigger": "Mark Completed button (warehouse user)",
          "conditions": [
            "all_skus_processed"
          ]
        },
        {
          "from_state": "Closed",
          "to_state": "RCR",
          "trigger": "Print RCR button",
          "conditions": []
        }
      ],
      "confidence": 0.88,
      "provenance": [
        {
          "slide_index": 0
        }
      ]
    }
  ],
  "actions": [
    {
      "name": "create_asn",
      "screen": "Create ASN (Standard)",
      "expected_outcome": "Opens ASN creation modal",
      "provenance": {
        "slide_index": 2
      },
      "trigger": "Create ASN button",
      "confidence": 0.9450000000000001
    },
    {
      "name": "create_local_asn",
      "screen": "Create Local ASN",
      "expected_outcome": "Opens local ASN creation modal",
      "provenance": {
        "slide_index": 3
      },
      "trigger": "Create Local ASN button",
      "confidence": 0.9450000000000001
    },
    {
      "name": "reserve_slots",
      "screen": "Unreserved ASN List",
      "expected_outcome": "Reserves storage slots for SKUs",
      "provenance": {
        "slide_index": 5
      },
      "trigger": "Reserve Slots button",
      "confidence": 0.9450000000000001
    },
    {
      "name": "print_rcr",
      "screen": "Closed ASN View",
      "expected_outcome": "Prints Receiving Confirmation Report",
      "provenance": {
        "slide_index": 12
      },
      "trigger": "Print RCR button",
      "confidence": 0.9450000000000001
    },
    {
      "name": "assign_door",
      "trigger": "Assign Door button",
      "screen": "At Door View",
      "expected_outcome": "Assigns a door for unloading",
      "confidence": 0.88,
      "provenance": {
        "slide_index": 9
      }
    },
    {
      "name": "mark_asn_completed",
      "trigger": "Mark Completed button",
      "screen": "Completion",
      "expected_outcome": "Marks ASN as completed and moves to Closed state",
      "confidence": 0.9,
      "provenance": {
        "slide_index": 11
      }
    }
  ],
  "states": [],
  "rules": [
    {
      "name": "min_one_line_item",
      "description": "An ASN must contain at least one line item before it can be submitted.",
      "applies_to": "AsnLineItem",
      "rule_type": "required",
      "confidence": 0.9660000000000001,
      "provenance": {
        "slide_index": 4
      }
    },
    {
      "name": "all_skus_reserved",
      "description": "All SKUs must be reserved before ASN can move to Reserved state.",
      "applies_to": "AdvancedShipmentNotice",
      "rule_type": "other",
      "confidence": 0.9660000000000001,
      "provenance": {
        "slide_index": 7
      }
    },
    {
      "name": "all_skus_processed",
      "description": "All SKUs must be processed before ASN can be marked as Completed.",
      "applies_to": "AdvancedShipmentNotice",
      "rule_type": "other",
      "confidence": 0.9660000000000001,
      "provenance": {
        "slide_index": 11
      }
    },
    {
      "name": "door_assignment_required",
      "description": "A door must be assigned before ASN can move to 'At Door' state.",
      "applies_to": "AdvancedShipmentNotice",
      "rule_type": "other",
      "confidence": 0.88,
      "provenance": {
        "slide_index": 9
      }
    },
    {
      "name": "rcr_print_after_closure",
      "description": "RCR can only be printed after ASN is closed.",
      "applies_to": "ReceivingConfirmationReport",
      "rule_type": "other",
      "confidence": 0.87,
      "provenance": {
        "slide_index": 14
      }
    },
    {
      "name": "slot_assignment_required",
      "description": "A slot must be assigned before ASN can move to Reserved state.",
      "applies_to": "ASN",
      "rule_type": "required",
      "confidence": 0.7,
      "provenance": {
        "slide_index": 4
      }
    }
  ],
  "roles": [
    {
      "name": "warehouse_user",
      "description": "User responsible for managing ASNs and processing shipments.",
      "provenance": {
        "slide_index": 0
      },
      "visible_permissions": [
        "create_asn",
        "reserve_slots",
        "assign_door",
        "mark_asn_completed",
        "print_rcr"
      ],
      "confidence": 0.9
    },
    {
      "name": "WarehouseOperator",
      "description": "Handles the creation and processing of ASNs.",
      "visible_permissions": [
        "create_asn",
        "reserve_slots",
        "assign_door",
        "mark_asn_completed",
        "print_rcr"
      ],
      "confidence": 0.9,
      "provenance": {
        "slide_index": 0
      }
    }
  ],
  "unknowns": [
    {
      "description": "Approval comments \u2014 Approve button visible but no comment input field shown on screen",
      "suspected_type": "field",
      "confidence": 0.35,
      "reason": "text mention only, UI element not in deck",
      "provenance": null
    },
    {
      "description": "Approval comments \u2014 Approve button visible but no comment input field shown on screen",
      "suspected_type": "field",
      "confidence": 0.35,
      "reason": "text mention only, UI element not in deck",
      "provenance": null
    }
  ],
  "confidence": {
    "overall": 0.9,
    "entities": 0.9,
    "workflows": 0.88,
    "components": 0.9,
    "layout": 0.9,
    "design_system": 0.7,
    "content": 0.9
  },
  "fidelity": {
    "overall_visual_coverage": 0.9,
    "overall_entity_coverage": 0.9,
    "overall_workflow_coverage": 0.88,
    "per_slide": []
  },
  "run_id": "1778124586772-pdf",
  "generated_at": "2023-10-01T12:00:00Z",
  "source_model": "gpt-4",
  "_normalize_meta": {
    "hallucination_guard": {
      "dropped": 0,
      "clamped": 0,
      "n_slides": 15
    }
  }
}