{
  "model": "sun_entity_model",
  "state_revision": "state-42b1f976f71be2bcd903a7e9e3b0b42a1d619f8aaa2c639454dbbc3c26ee9220",
  "types": [
    "company",
    "person",
    "opportunity"
  ],
  "records": [
    {
      "id": "company:acme",
      "type": "company",
      "title": "Muster Interactive AG",
      "fields": {
        "name": "Muster Interactive AG",
        "domain": "muster-interactive.example.invalid",
        "industry": "Software",
        "phone": "+41 00 000 00 00",
        "address": "Bahnhofstrasse 1",
        "city": "Zürich",
        "country": "CH"
      },
      "text": {
        "briefing": "Bestandskunde seit 2024. Interesse an Agentic AI im Support.\nzwei Standorte\nEntscheid liegt bei der Geschäftsleitung"
      },
      "state": {
        "field": "lead_status",
        "machine": "lead-funnel",
        "value": "warm",
        "allowed_next": [
          "qualifiziert",
          "verloren"
        ]
      },
      "pii_fields": [
        "phone"
      ]
    },
    {
      "id": "company:brunner",
      "type": "company",
      "title": "Beispiel Bau AG",
      "fields": {
        "name": "Beispiel Bau AG",
        "domain": "beispiel-bau.example.invalid",
        "industry": "Bau",
        "city": "Wallisellen",
        "country": "CH"
      },
      "state": {
        "field": "lead_status",
        "machine": "lead-funnel",
        "value": "kalt",
        "allowed_next": [
          "warm",
          "verloren"
        ]
      }
    },
    {
      "id": "person:mia",
      "type": "person",
      "title": "Kontakt A1",
      "fields": {
        "name": "Kontakt A1",
        "role": "COO",
        "is_decision_maker": true,
        "phone": "+41 00 000 00 01",
        "email": "kontakt-a1@example.invalid"
      },
      "relations": [
        {
          "def": "person-works-at-company",
          "rel_type": "works-at",
          "target": "company:acme",
          "target_type": "company",
          "target_title": "Muster Interactive AG",
          "props": {
            "role": "COO",
            "since": "2024-03-01"
          }
        }
      ],
      "pii_fields": [
        "name",
        "phone",
        "email"
      ]
    },
    {
      "id": "person:tom",
      "type": "person",
      "title": "Kontakt A2",
      "fields": {
        "name": "Kontakt A2",
        "role": "Leiter Support",
        "is_decision_maker": false,
        "email": "kontakt-a2@example.invalid"
      },
      "relations": [
        {
          "def": "person-works-at-company",
          "rel_type": "works-at",
          "target": "company:acme",
          "target_type": "company",
          "target_title": "Muster Interactive AG",
          "props": {
            "role": "Leiter Support",
            "since": "2025-01-15"
          }
        }
      ],
      "pii_fields": [
        "name",
        "email"
      ]
    },
    {
      "id": "person:lea",
      "type": "person",
      "title": "Kontakt B1",
      "fields": {
        "name": "Kontakt B1",
        "role": "Geschäftsführerin",
        "is_decision_maker": true,
        "phone": "+41 00 000 00 02",
        "email": "kontakt-b1@example.invalid"
      },
      "relations": [
        {
          "def": "person-works-at-company",
          "rel_type": "works-at",
          "target": "company:brunner",
          "target_type": "company",
          "target_title": "Beispiel Bau AG",
          "props": {
            "role": "Geschäftsführerin"
          }
        }
      ],
      "pii_fields": [
        "name",
        "phone",
        "email"
      ]
    },
    {
      "id": "opportunity:acme-plattform",
      "type": "opportunity",
      "title": "Plattform-Lizenz + Onboarding",
      "fields": {
        "title": "Plattform-Lizenz + Onboarding",
        "value_cents": 1200000,
        "currency": "CHF",
        "value_period": "annual",
        "confidence": 60,
        "expected_close": "2026-10-31",
        "owner": "owner-1",
        "contact": "person:mia"
      },
      "text": {
        "note": "Pilot im Support, danach Ausweitung."
      },
      "state": {
        "field": "stage",
        "machine": "opportunity-stage",
        "value": "active",
        "allowed_next": [
          "won",
          "lost"
        ]
      },
      "relations": [
        {
          "def": "opportunity-belongs-to-company",
          "rel_type": "belongs-to",
          "role": "customer",
          "target": "company:acme",
          "target_type": "company",
          "target_title": "Muster Interactive AG"
        }
      ]
    },
    {
      "id": "opportunity:brunner-workshop",
      "type": "opportunity",
      "title": "KI Executive Workshop",
      "fields": {
        "title": "KI Executive Workshop",
        "value_cents": 900000,
        "currency": "CHF",
        "value_period": "one_time",
        "confidence": 25,
        "contact": "person:lea"
      },
      "state": {
        "field": "stage",
        "machine": "opportunity-stage",
        "value": "active",
        "allowed_next": [
          "won",
          "lost"
        ]
      },
      "relations": [
        {
          "def": "opportunity-belongs-to-company",
          "rel_type": "belongs-to",
          "role": "customer",
          "target": "company:brunner",
          "target_type": "company",
          "target_title": "Beispiel Bau AG"
        }
      ]
    }
  ]
}
