{
  "id": "api-gateway-request-policy",
  "chapter": "api-gateways-and-contracts",
  "batch": "01",
  "rank": 1,
  "sourcePage": 10,
  "sourcePointer": "p. 10",
  "status": "accepted",
  "reviewerStatus": "reviewed",
  "fidelityScore": 0.9,
  "canvas": {
    "width": 960,
    "height": 640
  },
  "fireworksTechGraph": {
    "style": "style-1-flat-icon",
    "diagramType": "architecture",
    "topologyNotes": [
      "source page render inspected",
      "extracted page text inspected",
      "semantic redraw",
      "preserve major box and arrow meaning",
      "do not copy original pixels or wording"
    ],
    "publicBoundary": [
      "original vector output",
      "short generic labels only",
      "source renders remain ignored"
    ]
  },
  "callouts": [],
  "sourceReview": {
    "conceptAnchors": [
      "concept: API Gateway",
      "concept: Authentication",
      "concept: Authorization",
      "concept: HTTP",
      "concept: Diagram Below"
    ],
    "labelSource": "source-summary",
    "semanticStatus": "reviewed"
  },
  "title": "API Gateway Request Policy Flow",
  "groups": [
    {
      "id": "clients",
      "label": "Client channels",
      "x": 42,
      "y": 110,
      "w": 170,
      "h": 342
    },
    {
      "id": "gateway",
      "label": "Gateway controls",
      "x": 258,
      "y": 98,
      "w": 420,
      "h": 378
    },
    {
      "id": "targets",
      "label": "Routed targets",
      "x": 728,
      "y": 112,
      "w": 178,
      "h": 340
    }
  ],
  "shapes": [
    {
      "id": "client",
      "kind": "actor",
      "label": "Web mobile PC",
      "x": 84,
      "y": 236,
      "w": 86,
      "h": 92,
      "tone": "blue"
    },
    {
      "id": "gateway",
      "kind": "gateway",
      "label": "API Gateway",
      "detail": "HTTP entry",
      "x": 396,
      "y": 236,
      "w": 126,
      "h": 90,
      "tone": "orange"
    },
    {
      "id": "validate",
      "kind": "rect",
      "label": "Validate",
      "detail": "params",
      "x": 290,
      "y": 138,
      "w": 104,
      "h": 54,
      "tone": "blue"
    },
    {
      "id": "allow",
      "kind": "rect",
      "label": "Allow deny",
      "detail": "list check",
      "x": 414,
      "y": 138,
      "w": 104,
      "h": 54,
      "tone": "red"
    },
    {
      "id": "auth",
      "kind": "rect",
      "label": "Authn authz",
      "detail": "identity",
      "x": 538,
      "y": 138,
      "w": 104,
      "h": 54,
      "tone": "purple"
    },
    {
      "id": "route",
      "kind": "rect",
      "label": "Route",
      "detail": "dynamic",
      "x": 290,
      "y": 344,
      "w": 104,
      "h": 54,
      "tone": "green"
    },
    {
      "id": "rate",
      "kind": "rect",
      "label": "Rate limit",
      "detail": "protect",
      "x": 414,
      "y": 344,
      "w": 104,
      "h": 54,
      "tone": "red"
    },
    {
      "id": "resilience",
      "kind": "rect",
      "label": "Resilience",
      "detail": "errors cache",
      "x": 538,
      "y": 344,
      "w": 104,
      "h": 54,
      "tone": "gray"
    },
    {
      "id": "service",
      "kind": "rect",
      "label": "Services",
      "detail": "micro APIs",
      "x": 766,
      "y": 210,
      "w": 106,
      "h": 70,
      "tone": "green"
    },
    {
      "id": "cache",
      "kind": "cylinder",
      "label": "Cache",
      "detail": "fast state",
      "x": 766,
      "y": 338,
      "w": 106,
      "h": 78,
      "tone": "teal"
    }
  ],
  "connectors": [
    {
      "from": "client",
      "to": "gateway",
      "label": "request",
      "flow": "main"
    },
    {
      "from": "gateway",
      "to": "validate",
      "label": "parse",
      "flow": "control"
    },
    {
      "from": "gateway",
      "to": "allow",
      "label": "policy",
      "flow": "control"
    },
    {
      "from": "gateway",
      "to": "auth",
      "label": "verify",
      "flow": "control"
    },
    {
      "from": "gateway",
      "to": "route",
      "label": "discover",
      "flow": "data"
    },
    {
      "from": "gateway",
      "to": "rate",
      "label": "limit",
      "flow": "control"
    },
    {
      "from": "gateway",
      "to": "resilience",
      "label": "handle",
      "flow": "data",
      "dashed": true
    },
    {
      "from": "gateway",
      "to": "service",
      "label": "route",
      "flow": "main"
    },
    {
      "from": "gateway",
      "to": "cache",
      "label": "cache",
      "flow": "data",
      "dashed": true
    }
  ]
}
