{
  "$schema": "../../.dumbdiagrams/requirements.schema.json",
  "version": 1,
  "grammar": "cloud-agnostic",
  "components": [
    {
      "id": "client",
      "kind": "resource",
      "type": "cloud-agnostic.client",
      "basis": {
        "kind": "explicit",
        "text": "External web client sends HTTPS through an API gateway to a customer API service, which reads and writes a customer database. Production account and primary ..."
      }
    },
    {
      "id": "cloud",
      "kind": "group",
      "type": "cloud-agnostic.cloud",
      "basis": {
        "kind": "explicit",
        "text": "External web client sends HTTPS through an API gateway to a customer API service, which reads and writes a customer database. Production account and primary ..."
      }
    },
    {
      "id": "account",
      "kind": "group",
      "type": "cloud-agnostic.account",
      "basis": {
        "kind": "explicit",
        "text": "External web client sends HTTPS through an API gateway to a customer API service, which reads and writes a customer database. Production account and primary ..."
      }
    },
    {
      "id": "region",
      "kind": "group",
      "type": "cloud-agnostic.region",
      "basis": {
        "kind": "explicit",
        "text": "External web client sends HTTPS through an API gateway to a customer API service, which reads and writes a customer database. Production account and primary ..."
      }
    },
    {
      "id": "gateway",
      "kind": "resource",
      "type": "cloud-agnostic.gateway",
      "basis": {
        "kind": "explicit",
        "text": "External web client sends HTTPS through an API gateway to a customer API service, which reads and writes a customer database. Production account and primary ..."
      }
    },
    {
      "id": "api",
      "kind": "resource",
      "type": "cloud-agnostic.server",
      "basis": {
        "kind": "explicit",
        "text": "External web client sends HTTPS through an API gateway to a customer API service, which reads and writes a customer database. Production account and primary ..."
      }
    },
    {
      "id": "db",
      "kind": "resource",
      "type": "cloud-agnostic.database",
      "basis": {
        "kind": "explicit",
        "text": "External web client sends HTTPS through an API gateway to a customer API service, which reads and writes a customer database. Production account and primary ..."
      }
    }
  ],
  "relationships": [
    {
      "id": "https",
      "source": "client",
      "target": "gateway",
      "kind": "flow",
      "basis": {
        "kind": "explicit",
        "text": "HTTPS (client to gateway) per the request."
      }
    },
    {
      "id": "route",
      "source": "gateway",
      "target": "api",
      "kind": "flow",
      "basis": {
        "kind": "explicit",
        "text": "Route (gateway to api) per the request."
      }
    },
    {
      "id": "records",
      "source": "api",
      "target": "db",
      "kind": "flow",
      "basis": {
        "kind": "explicit",
        "text": "Read/write records (api to db) per the request."
      }
    }
  ],
  "counts": [],
  "placement": [
    {
      "id": "client_root",
      "component": "client",
      "relation": "root",
      "basis": {
        "kind": "explicit",
        "text": "Placed outside any cloud boundary."
      }
    },
    {
      "id": "cloud_root",
      "component": "cloud",
      "relation": "root",
      "basis": {
        "kind": "explicit",
        "text": "Placed outside any cloud boundary."
      }
    },
    {
      "id": "account_in_cloud",
      "component": "account",
      "relation": "parent",
      "group": "cloud",
      "basis": {
        "kind": "explicit",
        "text": "Containment described in the request."
      }
    },
    {
      "id": "region_in_account",
      "component": "region",
      "relation": "parent",
      "group": "account",
      "basis": {
        "kind": "explicit",
        "text": "Containment described in the request."
      }
    },
    {
      "id": "gateway_in_region",
      "component": "gateway",
      "relation": "parent",
      "group": "region",
      "basis": {
        "kind": "explicit",
        "text": "Containment described in the request."
      }
    },
    {
      "id": "api_in_region",
      "component": "api",
      "relation": "parent",
      "group": "region",
      "basis": {
        "kind": "explicit",
        "text": "Containment described in the request."
      }
    },
    {
      "id": "db_in_region",
      "component": "db",
      "relation": "parent",
      "group": "region",
      "basis": {
        "kind": "explicit",
        "text": "Containment described in the request."
      }
    }
  ],
  "allowAdditionalResources": false
}
