{
  "schema_version": 1,
  "diagram_type": "architecture",
  "meta": {
    "title": "KBP Business Context",
    "output": "docs/architecture/arc42/assets/kbp-context-view.html",
    "quality_profile": "showcase",
    "locale": "en",
    "views": [
      {
        "id": "people",
        "label": "Who works with KBP",
        "focus": [
          "agents",
          "idm",
          "kbp"
        ],
        "note": "Agents, support levels and specialty departments serve customers in KBP; EnBW IDM supplies their roles from Savvy."
      },
      {
        "id": "entry",
        "label": "How KBP is entered",
        "focus": [
          "entry",
          "kbp"
        ],
        "note": "KBP is opened per business case from ASI or the EnWiCore client; BSI is the planned future entry point."
      },
      {
        "id": "commodity",
        "label": "Commodity and customer systems",
        "focus": [
          "kbp",
          "offer",
          "commodity",
          "customer",
          "apa"
        ],
        "note": "Offers, orders, contracts, meter data, customer master data and accounting are all owned by EnBW backend systems."
      },
      {
        "id": "services",
        "label": "Supporting services",
        "focus": [
          "kbp",
          "custsvc",
          "eventbus",
          "casedocs",
          "content"
        ],
        "note": "Cross-cutting services for PIN, permissions, annotations, business events, receivables tasks, documents, content and mail."
      }
    ]
  },
  "components": [
    {
      "id": "idm",
      "type": "security",
      "label": "EnBW IDM",
      "sublabel": "agent roles · Savvy",
      "pos": [
        40,
        120
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "agents",
      "type": "external",
      "label": "Agents & support staff",
      "sublabel": "1st/2nd level · specialty · QA",
      "pos": [
        40,
        309
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "entry",
      "type": "frontend",
      "label": "Entry clients",
      "sublabel": "ASI · EnWiCore client",
      "pos": [
        270,
        40
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "offer",
      "type": "external",
      "label": "Offer / order services",
      "sublabel": "ComV3 offers · COM orders",
      "pos": [
        535,
        40
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "commodity",
      "type": "external",
      "label": "Commodity management",
      "sublabel": "EnWiCore · meter data · layer",
      "pos": [
        800,
        40
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "kbp",
      "type": "backend",
      "label": "Kundenberaterportal (KBP)",
      "sublabel": "system under design",
      "pos": [
        520,
        300
      ],
      "size": [
        200,
        80
      ]
    },
    {
      "id": "content",
      "type": "external",
      "label": "Content & engagement",
      "sublabel": "Contentful · MXO · SendGrid",
      "pos": [
        1010,
        120
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "customer",
      "type": "external",
      "label": "Customer management",
      "sublabel": "CMDM · CIAM · Auth0 MEK",
      "pos": [
        1010,
        309
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "apa",
      "type": "external",
      "label": "Accounting & payments",
      "sublabel": "APA",
      "pos": [
        1010,
        500
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "custsvc",
      "type": "external",
      "label": "Customer services",
      "sublabel": "PIN · permissions · annotations",
      "pos": [
        270,
        580
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "eventbus",
      "type": "external",
      "label": "Digital Layer",
      "sublabel": "business events",
      "pos": [
        535,
        580
      ],
      "size": [
        170,
        62
      ]
    },
    {
      "id": "casedocs",
      "type": "external",
      "label": "Receivables tasks & documents",
      "sublabel": "ZAuV (WFM) · EnDIA archive",
      "pos": [
        785,
        580
      ],
      "size": [
        210,
        62
      ]
    }
  ],
  "connections": [
    {
      "from": "agents",
      "to": "kbp",
      "label": "serve customers",
      "variant": "emphasis",
      "labelAt": [
        300,
        352
      ]
    },
    {
      "from": "idm",
      "to": "kbp",
      "label": "agent roles",
      "variant": "security",
      "fromSide": "right",
      "toSide": "top",
      "labelSegment": 0
    },
    {
      "from": "entry",
      "to": "kbp",
      "label": "customer + case context",
      "variant": "emphasis"
    },
    {
      "from": "kbp",
      "to": "offer",
      "label": "offers, orders",
      "labelDx": 48
    },
    {
      "from": "kbp",
      "to": "commodity",
      "label": "contracts, meters"
    },
    {
      "from": "kbp",
      "to": "content",
      "label": "content, NBA, mails"
    },
    {
      "from": "kbp",
      "to": "customer",
      "label": "master data, identity",
      "labelDy": 14
    },
    {
      "from": "kbp",
      "to": "apa",
      "label": "balances, payments"
    },
    {
      "from": "kbp",
      "to": "custsvc",
      "label": "PIN, consents"
    },
    {
      "from": "kbp",
      "to": "eventbus",
      "label": "business events",
      "variant": "dashed",
      "labelAt": [
        672,
        480
      ]
    },
    {
      "from": "kbp",
      "to": "casedocs",
      "label": "tasks, documents"
    }
  ],
  "cards": [
    {
      "dot": "cyan",
      "title": "People",
      "items": [
        "Agents, support levels and specialty departments use KBP daily",
        "EnBW IDM supplies agent roles from Savvy; they decide which business functions an agent may use"
      ]
    },
    {
      "dot": "emerald",
      "title": "Entry",
      "items": [
        "KBP is opened per business case from ASI or the EnWiCore client",
        "BSI will become the leading agent system and entry point"
      ]
    },
    {
      "dot": "rose",
      "title": "External systems",
      "items": [
        "Each box groups the systems listed in the table below",
        "Arrows name the business data exchanged"
      ]
    }
  ]
}
