{
  "owners": [
    { "name": "Web Team", "email": "web-team@example.com", "team": "Digital" },
    { "name": "Payments Team", "email": "payments@example.com", "team": "Finance IT" },
    { "name": "Platform Team", "email": "platform@example.com", "team": "Infrastructure" },
    { "name": "Marketing", "email": "marketing-it@example.com", "team": "Marketing" }
  ],
  "technologies": [
    { "name": "PHP", "category": "Runtime", "vendor": "The PHP Group", "aliases": ["php-fpm", "mod_php"] },
    { "name": "nginx", "category": "WebServer", "vendor": "F5" },
    { "name": "Apache HTTP Server", "category": "WebServer", "vendor": "Apache Software Foundation", "aliases": ["httpd", "apache2"] },
    { "name": "Ubuntu", "category": "OperatingSystem", "vendor": "Canonical" },
    { "name": "Red Hat Enterprise Linux", "category": "OperatingSystem", "vendor": "Red Hat", "aliases": ["RHEL"] },
    { "name": "Alpine Linux", "category": "OperatingSystem" },
    { "name": "F5 BIG-IP", "category": "Firmware", "vendor": "F5", "aliases": ["BIG-IP LTM"] },
    { "name": "Cloudflare", "category": "Platform", "vendor": "Cloudflare" },
    { "name": "Java", "category": "Runtime", "aliases": ["OpenJDK", "JRE"] },
    { "name": "Apache Tomcat", "category": "WebServer", "vendor": "Apache Software Foundation", "aliases": ["Tomcat"] },
    { "name": "Spring Boot", "category": "Framework", "vendor": "VMware" },
    { "name": "Node.js", "category": "Runtime", "aliases": ["node"] },
    { "name": "Kubernetes", "category": "Platform" },
    { "name": "WordPress", "category": "Framework", "aliases": ["wp"] },
    { "name": "Laravel", "category": "Framework" },
    { "name": "PostgreSQL", "category": "Database", "aliases": ["postgres"] },
    { "name": "MySQL", "category": "Database", "vendor": "Oracle" }
  ],
  "components": [
    { "type": "DnsName", "name": "www.example.com", "owner": "Marketing", "environment": "Production", "criticality": "High" },
    { "type": "DnsName", "name": "blog.example.com", "owner": "Marketing", "environment": "Production", "criticality": "Medium" },
    { "type": "DnsName", "name": "shop.example.com", "owner": "Web Team", "environment": "Production", "criticality": "Critical" },
    { "type": "DnsName", "name": "pay.example.com", "owner": "Payments Team", "environment": "Production", "criticality": "Critical" },
    { "type": "DnsName", "name": "api.example.com", "owner": "Web Team", "environment": "Production", "criticality": "High" },
    { "type": "DnsName", "name": "legacy.example.com", "owner": "Web Team", "environment": "Production", "criticality": "Medium", "tags": ["end-of-life"] },

    { "type": "Cdn", "name": "cloudflare-edge", "owner": "Platform Team", "technologies": ["Cloudflare"] },
    { "type": "LoadBalancer", "name": "lb-prod-01", "owner": "Platform Team", "environment": "Production", "internetFacing": true,
      "attributes": { "VIP": "203.0.113.10", "Location": "DC1" }, "technologies": ["F5 BIG-IP"] },
    { "type": "ReverseProxy", "name": "rp-dmz-01", "owner": "Platform Team", "environment": "Production",
      "attributes": { "IP": "10.10.0.5", "Zone": "DMZ" }, "technologies": ["nginx", "Ubuntu"] },
    { "type": "ReverseProxy", "name": "rp-legacy", "owner": "Platform Team", "environment": "Production", "technologies": ["Apache HTTP Server", "Red Hat Enterprise Linux"] },

    { "type": "Application", "name": "Webshop", "owner": "Web Team", "environment": "Production", "criticality": "Critical",
      "repositoryUrl": "https://git.example.com/web/webshop", "technologies": ["PHP", "Laravel"] },
    { "type": "Application", "name": "Payments API", "owner": "Payments Team", "environment": "Production", "criticality": "Critical",
      "repositoryUrl": "https://git.example.com/payments/payments-api", "technologies": ["Java", "Spring Boot"] },
    { "type": "Application", "name": "Public API", "owner": "Web Team", "environment": "Production", "criticality": "High",
      "repositoryUrl": "https://git.example.com/web/public-api", "technologies": ["Node.js"] },
    { "type": "Application", "name": "Corporate website", "owner": "Marketing", "environment": "Production", "technologies": ["WordPress", "PHP"] },
    { "type": "Application", "name": "Legacy portal", "owner": "Web Team", "environment": "Production", "technologies": ["PHP"], "tags": ["end-of-life"] },
    { "type": "Application", "name": "HR system", "owner": "Web Team", "environment": "Production", "description": "Internal only, not published.", "technologies": ["PHP"] },

    { "type": "Server", "name": "web01", "owner": "Platform Team", "environment": "Production", "attributes": { "IP": "10.20.0.11" }, "technologies": ["Ubuntu", "nginx"] },
    { "type": "Server", "name": "web02", "owner": "Platform Team", "environment": "Production", "attributes": { "IP": "10.20.0.12" }, "technologies": ["Ubuntu", "nginx"] },
    { "type": "Server", "name": "web03", "owner": "Platform Team", "environment": "Production", "technologies": ["Ubuntu", "Apache HTTP Server"] },
    { "type": "Server", "name": "web04", "owner": "Platform Team", "environment": "Production", "technologies": ["Red Hat Enterprise Linux", "Apache HTTP Server"] },
    { "type": "Server", "name": "web05", "owner": "Platform Team", "environment": "Production", "technologies": ["Ubuntu", "nginx"] },
    { "type": "Server", "name": "app01", "owner": "Platform Team", "environment": "Production", "technologies": ["Red Hat Enterprise Linux", "Apache Tomcat"] },
    { "type": "Server", "name": "db01", "owner": "Platform Team", "environment": "Production", "technologies": ["Red Hat Enterprise Linux"] },
    { "type": "Cluster", "name": "k8s-prod", "owner": "Platform Team", "environment": "Production", "technologies": ["Kubernetes", "Ubuntu"] },
    { "type": "Container", "name": "public-api", "owner": "Web Team", "environment": "Production", "technologies": ["Alpine Linux"] },

    { "type": "Database", "name": "webshop-db", "owner": "Web Team", "environment": "Production", "technologies": ["PostgreSQL"] },
    { "type": "Database", "name": "payments-db", "owner": "Payments Team", "environment": "Production", "criticality": "Critical", "technologies": ["PostgreSQL"] },
    { "type": "Database", "name": "wordpress-db", "owner": "Marketing", "environment": "Production", "technologies": ["MySQL"] }
  ],
  "relations": [
    { "from": "www.example.com", "to": "cloudflare-edge", "type": "ResolvesTo" },
    { "from": "blog.example.com", "to": "cloudflare-edge", "type": "ResolvesTo" },
    { "from": "cloudflare-edge", "to": "lb-prod-01", "type": "ProxiesTo" },
    { "from": "shop.example.com", "to": "lb-prod-01", "type": "ResolvesTo" },
    { "from": "pay.example.com", "to": "lb-prod-01", "type": "ResolvesTo" },
    { "from": "api.example.com", "to": "lb-prod-01", "type": "ResolvesTo" },
    { "from": "lb-prod-01", "to": "rp-dmz-01", "type": "RoutesTo" },
    { "from": "legacy.example.com", "to": "rp-legacy", "type": "ResolvesTo" },

    { "from": "www.example.com", "to": "Corporate website", "type": "RoutesTo" },
    { "from": "blog.example.com", "to": "Corporate website", "type": "RoutesTo" },
    { "from": "shop.example.com", "to": "Webshop", "type": "RoutesTo" },
    { "from": "pay.example.com", "to": "Payments API", "type": "RoutesTo" },
    { "from": "api.example.com", "to": "Public API", "type": "RoutesTo" },
    { "from": "rp-legacy", "to": "Legacy portal", "type": "ProxiesTo" },

    { "from": "Webshop", "to": "web01", "type": "HostedOn" },
    { "from": "Webshop", "to": "web02", "type": "HostedOn" },
    { "from": "Webshop", "to": "webshop-db", "type": "ConnectsTo" },
    { "from": "Webshop", "to": "Payments API", "type": "DependsOn" },
    { "from": "Payments API", "to": "app01", "type": "HostedOn" },
    { "from": "Payments API", "to": "payments-db", "type": "ConnectsTo" },
    { "from": "Public API", "to": "public-api", "type": "RunsOn" },
    { "from": "public-api", "to": "k8s-prod", "type": "RunsOn" },
    { "from": "Corporate website", "to": "web03", "type": "HostedOn" },
    { "from": "Corporate website", "to": "wordpress-db", "type": "ConnectsTo" },
    { "from": "Legacy portal", "to": "web04", "type": "HostedOn" },
    { "from": "HR system", "to": "web05", "type": "HostedOn" },
    { "from": "webshop-db", "to": "db01", "type": "HostedOn" },
    { "from": "payments-db", "to": "db01", "type": "HostedOn" }
  ]
}
