{
  "id": "wm_0022356a7db4",
  "name": "Untitled",
  "description": "Extracted world model",
  "version": "0.1.0",
  "created_at": "2026-04-08T07:45:55.524Z",
  "entities": [
    {
      "id": "ent_63b035b5a1ee",
      "name": "Stripe",
      "type": "system",
      "description": "Payment processing platform that facilitates transactions between merchants and customers",
      "tags": [
        "payment",
        "platform",
        "API"
      ]
    },
    {
      "id": "ent_5ec6abf02fae",
      "name": "Merchant",
      "type": "actor",
      "description": "Business entity that sells products/services and accepts payments through Stripe",
      "tags": [
        "business",
        "seller"
      ]
    },
    {
      "id": "ent_27f7cac29966",
      "name": "Customer",
      "type": "actor",
      "description": "Individual making purchases and providing payment information",
      "tags": [
        "buyer",
        "payer"
      ]
    },
    {
      "id": "ent_1aa3cbca6a4c",
      "name": "Issuing Bank",
      "type": "system",
      "description": "Financial institution that issued the customer's credit card and authorizes transactions",
      "tags": [
        "bank",
        "authorization"
      ]
    },
    {
      "id": "ent_5c695ef6b4a9",
      "name": "Acquiring Bank",
      "type": "system",
      "description": "Merchant's bank that receives settled funds from card transactions",
      "tags": [
        "bank",
        "settlement"
      ]
    },
    {
      "id": "ent_21899a817d32",
      "name": "Card Network",
      "type": "system",
      "description": "Payment network (Visa, Mastercard, etc.) that routes transactions between banks",
      "tags": [
        "network",
        "routing"
      ]
    },
    {
      "id": "ent_d88d8c4b9134",
      "name": "Credit Card",
      "type": "object",
      "description": "Payment instrument containing card data used for transactions",
      "tags": [
        "payment",
        "card"
      ]
    },
    {
      "id": "ent_a7b1b7f3b4b3",
      "name": "PaymentIntent",
      "type": "object",
      "description": "Stripe object that tracks the lifecycle of a payment",
      "tags": [
        "payment",
        "tracking"
      ]
    },
    {
      "id": "ent_76a73c60522a",
      "name": "Token",
      "type": "object",
      "description": "Secure representation of card data created by Stripe",
      "tags": [
        "security",
        "tokenization"
      ]
    },
    {
      "id": "ent_ce810d5d499f",
      "name": "Webhook",
      "type": "system",
      "description": "HTTP callback mechanism for Stripe to notify merchants of payment events",
      "tags": [
        "notification",
        "callback"
      ]
    },
    {
      "id": "ent_91bd559802c0",
      "name": "Authorization Request",
      "type": "object",
      "description": "Request sent to verify if payment can be processed",
      "tags": [
        "authorization",
        "verification"
      ]
    },
    {
      "id": "ent_ea1c723d8c5e",
      "name": "Transaction Fee",
      "type": "object",
      "description": "Stripe's charge of 2.9% + 30 cents per successful transaction",
      "tags": [
        "fee",
        "revenue"
      ]
    },
    {
      "id": "ent_c0683c4e1412",
      "name": "Chargeback Fee",
      "type": "object",
      "description": "15 dollar fee charged for disputed transactions",
      "tags": [
        "fee",
        "dispute"
      ]
    },
    {
      "id": "ent_9cc0416b3d27",
      "name": "Refund",
      "type": "object",
      "description": "Return of payment to customer within 120 days",
      "tags": [
        "refund",
        "reversal"
      ]
    },
    {
      "id": "ent_546bf74b9469",
      "name": "Radar",
      "type": "system",
      "description": "Stripe's fraud detection system",
      "tags": [
        "fraud",
        "detection",
        "security"
      ]
    },
    {
      "id": "ent_e64908891e12",
      "name": "Dashboard",
      "type": "system",
      "description": "Merchant interface for managing payments and account",
      "tags": [
        "interface",
        "management"
      ]
    },
    {
      "id": "ent_0172b041a906",
      "name": "Merchant Website",
      "type": "system",
      "description": "Merchant's online platform where customers make purchases",
      "tags": [
        "website",
        "checkout"
      ]
    },
    {
      "id": "ent_0ebf5018d8d9",
      "name": "Stripe API",
      "type": "system",
      "description": "Programming interface that merchants use to integrate Stripe",
      "tags": [
        "API",
        "integration"
      ]
    },
    {
      "id": "ent_3572192deee2",
      "name": "Settlement Process",
      "type": "event",
      "description": "Transfer of funds that occurs 2 business days after authorization",
      "tags": [
        "settlement",
        "funds"
      ]
    },
    {
      "id": "ent_ee0a4f920018",
      "name": "Evidence Submission Process",
      "type": "event",
      "description": "Dispute resolution mechanism for chargebacks",
      "tags": [
        "dispute",
        "evidence"
      ]
    },
    {
      "id": "ent_d5a29b284082",
      "name": "Payment Authorization Flow",
      "type": "object",
      "description": "Auto-created entity for unresolved reference: Payment Authorization Flow",
      "tags": [
        "auto-created"
      ]
    }
  ],
  "relations": [
    {
      "id": "rel_d23041024d89",
      "type": "uses",
      "source": "ent_5ec6abf02fae",
      "target": "ent_63b035b5a1ee",
      "label": "integrates payment processing through"
    },
    {
      "id": "rel_9a7b406b3bc6",
      "type": "uses",
      "source": "ent_27f7cac29966",
      "target": "ent_0172b041a906",
      "label": "makes purchases on"
    },
    {
      "id": "rel_18cfe5e39110",
      "type": "has",
      "source": "ent_27f7cac29966",
      "target": "ent_d88d8c4b9134",
      "label": "owns and provides"
    },
    {
      "id": "rel_991a9c07b0f1",
      "type": "communicates_with",
      "source": "ent_63b035b5a1ee",
      "target": "ent_21899a817d32",
      "label": "routes payments through"
    },
    {
      "id": "rel_baf5b18837bf",
      "type": "communicates_with",
      "source": "ent_21899a817d32",
      "target": "ent_1aa3cbca6a4c",
      "label": "forwards authorization requests to"
    },
    {
      "id": "rel_53c6bf15d4d6",
      "type": "communicates_with",
      "source": "ent_63b035b5a1ee",
      "target": "ent_5ec6abf02fae",
      "label": "notifies via webhook"
    },
    {
      "id": "rel_b8f9b51e9209",
      "type": "flows_to",
      "source": "ent_1aa3cbca6a4c",
      "target": "ent_5c695ef6b4a9",
      "label": "transfers funds to"
    },
    {
      "id": "rel_6ba54432bacc",
      "type": "flows_to",
      "source": "ent_5c695ef6b4a9",
      "target": "ent_5ec6abf02fae",
      "label": "deposits funds to"
    },
    {
      "id": "rel_50b9ccb74a87",
      "type": "produces",
      "source": "ent_63b035b5a1ee",
      "target": "ent_76a73c60522a",
      "label": "tokenizes card data into"
    },
    {
      "id": "rel_e579b529e4d9",
      "type": "produces",
      "source": "ent_63b035b5a1ee",
      "target": "ent_a7b1b7f3b4b3",
      "label": "creates to track payment"
    },
    {
      "id": "rel_405291860da1",
      "type": "uses",
      "source": "ent_5ec6abf02fae",
      "target": "ent_0ebf5018d8d9",
      "label": "integrates through"
    },
    {
      "id": "rel_9aa2a5185a5e",
      "type": "uses",
      "source": "ent_5ec6abf02fae",
      "target": "ent_e64908891e12",
      "label": "manages payments with"
    },
    {
      "id": "rel_4866d8aa0988",
      "type": "part_of",
      "source": "ent_546bf74b9469",
      "target": "ent_63b035b5a1ee",
      "label": "provides fraud detection for"
    },
    {
      "id": "rel_823c383a4185",
      "type": "part_of",
      "source": "ent_ce810d5d499f",
      "target": "ent_63b035b5a1ee",
      "label": "notification system of"
    },
    {
      "id": "rel_d6d5af7435fd",
      "type": "flows_to",
      "source": "ent_ea1c723d8c5e",
      "target": "ent_63b035b5a1ee",
      "label": "revenue source for"
    },
    {
      "id": "rel_3a19cf54306f",
      "type": "flows_to",
      "source": "ent_c0683c4e1412",
      "target": "ent_63b035b5a1ee",
      "label": "additional revenue for"
    }
  ],
  "processes": [
    {
      "id": "proc_b0a193b2338f",
      "name": "Payment Authorization Flow",
      "description": "Complete process from customer payment submission to merchant notification",
      "steps": [
        {
          "order": 1,
          "action": "submits payment details on checkout page",
          "actor": "ent_27f7cac29966"
        },
        {
          "order": 2,
          "action": "tokenizes card data for security",
          "actor": "ent_63b035b5a1ee"
        },
        {
          "order": 3,
          "action": "creates PaymentIntent to track transaction",
          "actor": "ent_63b035b5a1ee"
        },
        {
          "order": 4,
          "action": "sends authorization request to card network",
          "actor": "ent_63b035b5a1ee"
        },
        {
          "order": 5,
          "action": "routes request to issuing bank",
          "actor": "ent_21899a817d32"
        },
        {
          "order": 6,
          "action": "approves or declines transaction",
          "actor": "ent_1aa3cbca6a4c"
        },
        {
          "order": 7,
          "action": "notifies merchant via webhook",
          "actor": "ent_63b035b5a1ee"
        },
        {
          "order": 8,
          "action": "fulfills order upon approval",
          "actor": "ent_5ec6abf02fae"
        }
      ],
      "participants": [
        "ent_27f7cac29966",
        "ent_63b035b5a1ee",
        "ent_21899a817d32",
        "ent_1aa3cbca6a4c",
        "ent_5ec6abf02fae"
      ],
      "outcomes": [
        "Transaction approved and order fulfilled",
        "Transaction declined and order cancelled"
      ]
    },
    {
      "id": "proc_68aae52ff47f",
      "name": "Settlement Flow",
      "description": "Transfer of funds from issuing bank to merchant account after 2 business days",
      "steps": [
        {
          "order": 1,
          "action": "initiates fund transfer 2 business days after authorization",
          "actor": "ent_1aa3cbca6a4c"
        },
        {
          "order": 2,
          "action": "routes funds through card network",
          "actor": "ent_21899a817d32"
        },
        {
          "order": 3,
          "action": "receives funds from card network",
          "actor": "ent_5c695ef6b4a9"
        },
        {
          "order": 4,
          "action": "deposits funds to merchant bank account",
          "actor": "ent_5c695ef6b4a9"
        }
      ],
      "participants": [
        "ent_1aa3cbca6a4c",
        "ent_21899a817d32",
        "ent_5c695ef6b4a9",
        "ent_5ec6abf02fae"
      ],
      "outcomes": [
        "Merchant receives payment funds"
      ]
    },
    {
      "id": "proc_7973885f0c86",
      "name": "Refund Process",
      "description": "Merchant-initiated return of payment to customer within 120 days",
      "steps": [
        {
          "order": 1,
          "action": "initiates refund request",
          "actor": "ent_5ec6abf02fae"
        },
        {
          "order": 2,
          "action": "processes refund through payment networks",
          "actor": "ent_63b035b5a1ee"
        },
        {
          "order": 3,
          "action": "returns funds to customer's card",
          "actor": "ent_1aa3cbca6a4c"
        }
      ],
      "participants": [
        "ent_5ec6abf02fae",
        "ent_63b035b5a1ee",
        "ent_1aa3cbca6a4c",
        "ent_27f7cac29966"
      ],
      "outcomes": [
        "Customer receives refund"
      ]
    },
    {
      "id": "proc_7acdfd0cdc26",
      "name": "Chargeback Dispute Resolution",
      "description": "Process for resolving disputed transactions through evidence submission",
      "steps": [
        {
          "order": 1,
          "action": "initiates chargeback dispute",
          "actor": "ent_27f7cac29966"
        },
        {
          "order": 2,
          "action": "charges $15 chargeback fee",
          "actor": "ent_63b035b5a1ee"
        },
        {
          "order": 3,
          "action": "submits evidence to support transaction",
          "actor": "ent_5ec6abf02fae"
        },
        {
          "order": 4,
          "action": "reviews evidence and makes final decision",
          "actor": "ent_1aa3cbca6a4c"
        }
      ],
      "participants": [
        "ent_27f7cac29966",
        "ent_63b035b5a1ee",
        "ent_5ec6abf02fae",
        "ent_1aa3cbca6a4c"
      ],
      "outcomes": [
        "Dispute resolved in favor of merchant",
        "Dispute resolved in favor of customer"
      ]
    }
  ],
  "constraints": [
    {
      "id": "cstr_9c81499a8536",
      "name": "Settlement Timing",
      "type": "temporal",
      "description": "Funds transfer occurs exactly 2 business days after authorization",
      "scope": [
        "ent_3572192deee2"
      ],
      "severity": "hard"
    },
    {
      "id": "cstr_23813c0f0baf",
      "name": "Refund Window",
      "type": "temporal",
      "description": "Refunds can only be issued within 120 days of transaction",
      "scope": [
        "ent_9cc0416b3d27"
      ],
      "severity": "hard"
    },
    {
      "id": "cstr_763d214b68ce",
      "name": "Fee Structure",
      "type": "rule",
      "description": "Transaction fees only charged on successful transactions (2.9% + 30 cents)",
      "scope": [
        "ent_ea1c723d8c5e",
        "ent_63b035b5a1ee"
      ],
      "severity": "hard"
    },
    {
      "id": "cstr_5861435d0167",
      "name": "Chargeback Fee",
      "type": "rule",
      "description": "Fixed $15 fee applied to all disputed transactions",
      "scope": [
        "ent_c0683c4e1412",
        "ent_63b035b5a1ee"
      ],
      "severity": "hard"
    },
    {
      "id": "cstr_31491ab8f4bc",
      "name": "Authorization Dependency",
      "type": "dependency",
      "description": "Order fulfillment cannot occur without successful payment authorization",
      "scope": [
        "ent_5ec6abf02fae",
        "ent_d5a29b284082"
      ],
      "severity": "hard"
    },
    {
      "id": "cstr_4748258b0c40",
      "name": "Tokenization Requirement",
      "type": "rule",
      "description": "Card data must be tokenized before processing for security",
      "scope": [
        "ent_d88d8c4b9134",
        "ent_76a73c60522a",
        "ent_63b035b5a1ee"
      ],
      "severity": "hard"
    },
    {
      "id": "cstr_fc45ab604727",
      "name": "Network Routing",
      "type": "dependency",
      "description": "All payment requests must flow through appropriate card network",
      "scope": [
        "ent_21899a817d32",
        "ent_1aa3cbca6a4c"
      ],
      "severity": "hard"
    }
  ],
  "metadata": {
    "source_type": "mixed",
    "source_summary": "Merged from 21 entities across 2 models",
    "confidence": 0.55,
    "extraction_notes": [
      "First pass missed all entities since model was empty - extracted all major actors, systems, and objects implied by the payment flow",
      "Inferred infrastructure entities like webhooks, APIs, and dashboards that must exist for described functionality",
      "Added financial entities like banks and networks that are essential participants in payment processing",
      "Extracted complete process flows with step-by-step breakdowns that were described in narrative form",
      "Identified business rules and constraints around timing, fees, and dependencies that govern system behavior",
      "Created relationships showing data flow, communication paths, and dependencies between all system components",
      "Merged: Untitled (0 entities) + Stripe Payment Processing System (21 entities)"
    ]
  }
}