CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Government & Public Sector

🏛️ Government & Public Sector · Sequence

Aadhaar-Style Identity Verification

How a service verifies a person's identity with a national ID and OTP (e-KYC), with consent and without storing the ID number.

More Government & Public Sector templates

Drawing diagram…

What this diagram shows

  • The user gives explicit consent before verification
  • OTP goes to the mobile linked with the national ID
  • The service stores a reference token, not the ID number

Prompt used

Identity verification sequence: the user enters their national ID number and gives consent, the service's authentication agency (ASA/AUA) forwards the request to the national ID authority, which sends an OTP to the linked mobile, the user enters the OTP, the authority returns a yes/no plus e-KYC data (name, address, photo) signed digitally, and the service stores only a reference token and the verified details.

Mermaid code
sequenceDiagram
  actor U as User
  participant S as Service Portal
  participant A as Authentication Agency
  participant ID as National ID Authority
  U->>S: Enter ID number, give consent
  S->>A: e-KYC request
  A->>ID: Request OTP
  ID-->>U: OTP to linked mobile
  U->>S: Enter OTP
  S->>A: Verify OTP
  A->>ID: Authenticate
  ID-->>A: Verified, signed e-KYC data
  A-->>S: Name, address, photo
  S->>S: Store reference token, not ID number
  S-->>U: Identity verified

Related templates

C4 ArchitectureProGovernment & Public Sector

Citizen Services Portal Architecture

A single online portal where citizens apply for government services: identity login, a service catalogue, document storage and payments to the treasury.

FlowchartGovernment & Public Sector

Permit and Licence Approval Workflow

How a building permit or trade licence application moves through a government office: scrutiny, site inspection, fees and the final certificate.

SequenceGovernment & Public Sector

Online Tax Return Filing

How a taxpayer files an income tax return online: pre-filled data, computation, payment of any balance tax and e-verification.

State MachineGovernment & Public Sector

Public Grievance Redressal Lifecycle

The states of a citizen complaint in a public grievance system: registration, assignment to a department, resolution, citizen feedback and escalation.

Database ERDGovernment & Public Sector

Land Records Database Schema

A schema for digitised land records: parcels with survey numbers, owners and shares, mutations, encumbrances and map references.

C4 ArchitectureProGovernment & Public Sector

Integrated Command and Control Centre

A city's integrated command and control centre (ICCC): one operations room that brings together traffic, surveillance, emergency response and utilities.