Overview
Aerosys Aviation is a comprehensive drone compliance platform designed for the Indian aviation regulatory framework. It provides end-to-end management of drone operations from type certification to flight logging, ensuring full compliance with DGCA regulations.
Type Certification
Form D-1 management for drone model approval
UIN Registration
Unique Identification Number generation (D-2)
Pilot Management
Remote Pilot Certificate tracking (D-4)
NPNT Compliance
No Permission No Takeoff validation
Flight Logging
Tamper-proof flight data recording
Maintenance Tracking
Digital aircraft maintenance logbook
Regulatory Framework
- • Drone Rules, 2021 (as amended 2022, 2023)
- • Bharatiya Vayuyan Adhiniyam, 2024 (Indian Aviation Act)
- • Draft Civil Drone (Promotion and Regulation) Bill, 2025
- • Digital Sky Platform Integration
System Architecture
The platform uses a modern microservices architecture with clear separation between frontend, backend, and database layers.
┌─────────────────────────────────────────────────────────────┐ │ Aerosys Aviation INDIA │ ├─────────────────────────────────────────────────────────────┤ │ │ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │ │ │ Next.js │ │ FastAPI │ │ Neon │ │ │ │ Frontend │◄──►│ Backend │◄──►│ PostgreSQL │ │ │ │ (React) │ │ (Python) │ │ (TimescaleDB)│ │ │ └──────────────┘ └──────────────┘ └──────────────┘ │ │ │ │ │ │ │ │ │ │ │ │ ▼ ▼ ▼ │ │ ┌──────────────┐ ┌──────────────┐ ┌──────────────┐ │ │ │ Tailwind │ │ NPNT Engine │ │ PostGIS │ │ │ │ React Query │ │ Log Ingestor │ │ Extensions │ │ │ │ Zustand │ │ UIN Generator│ │ │ │ │ └──────────────┘ └──────────────┘ └──────────────┘ │ │ │ │ ┌──────────────┐ │ │ │ Digital Sky │ │ │ │ API (DGCA) │ │ │ └──────────────┘ │ └─────────────────────────────────────────────────────────────┘
Frontend
Next.js 14, React 18, TypeScript, Tailwind CSS, React Query
Backend
Python 3.11, FastAPI, SQLAlchemy, Pydantic, JWT Auth
Database
PostgreSQL 15, TimescaleDB, PostGIS, Neon Serverless
Getting Started
Prerequisites
- Python 3.11 or higher
- Node.js 18 or higher
- PostgreSQL 15 (or Neon account)
- Git
Backend Setup
# Clone and navigate to backend cd "d:\Aerosys aviation\DGCA\backend" # Create virtual environment python -m venv venv venv\Scripts\activate # Windows # source venv/bin/activate # Linux/Mac # Install dependencies pip install -r requirements.txt # Configure environment copy .env.example .env # Edit .env with your database credentials # Run development server uvicorn app.main:app --reload --port 8000
Frontend Setup
# Navigate to frontend cd "d:\Aerosys aviation\DGCA\frontend" # Install dependencies npm install # Create environment file echo "NEXT_PUBLIC_API_URL=http://localhost:8000" > .env.local # Run development server npm run dev
Database Setup
# Option 1: Neon (Recommended) # Create account at neon.tech and get connection string # Option 2: Local PostgreSQL createdb aerosys_aviation psql aerosys_aviation < database/schema.sql
Platform Modules
Registry Module
Manages the complete drone registry including type certificates, UINs, and ownership.
- Type Certificate (Form D-1) - Drone model certification with specs
- Drone Registration (Form D-2) - Individual UIN assignment
- Ownership Transfer (Form D-3) - Secure handshake protocol
- Pilot Certificates (Form D-4) - RPC management with 10-year validity
- RPTO Authorization (Form D-5) - Training organization management
Operations Module
Handles flight planning, NPNT validation, and real-time operations.
- Flight Plan Creation - Polygon-based flight area definition
- Zone Validation - Red/Yellow/Green airspace checks
- NPNT Engine - 9-point compliance validation before takeoff
- Permission Artifacts - DGCA-signed flight authorization
- Flight Logging - Tamper-proof SHA-256 hash chain
Maintenance Module
Digital maintenance logbook compliant with CA Form 19-10.
- Component Tracking - Part installation and replacement history
- Scheduled Maintenance - Automatic due date calculations
- Technician Signatures - Digital sign-off requirements
- Dual Verification - Critical work requires second approval
- Audit Trail - Immutable maintenance records
Compliance Module
Monitors violations and provides audit-ready reporting.
- Violation Detection - Automatic flagging of non-compliance
- Severity Classification - Low/Medium/High/Critical ratings
- Section 10A Tracking - BVA 2024 penalty provisions
- Auditor View - Read-only access for DGCA inspectors
- Time-Travel Queries - Historical state reconstruction
API Reference
All API endpoints are available at http://localhost:8000/api/v1. Interactive documentation is available at /docs.
Authentication
/auth/registerRegister new user/auth/loginLogin and get JWT token/auth/meGet current user profile/auth/refreshRefresh access tokenDrones
/dronesList drones (paginated, filterable)/dronesCreate new drone record/drones/{id}Get drone details/drones/{id}Update drone/drones/generate-uinGenerate UIN for drone/drones/generate-uin/batchBatch UIN generation/drones/{id}/activateActivate registered droneFlight Operations
/flights/plansList flight plans/flights/plansCreate flight plan/flights/validate-npntNPNT validation/flights/validate-zoneAirspace zone check/flights/logs/ingestIngest flight logs/flights/plans/{id}/startMark flight started/flights/plans/{id}/completeMark flight completedRegulatory Compliance
Aerosys Aviation India is designed to ensure full compliance with Indian drone regulations. Here's how the platform addresses key regulatory requirements:
Drone Rules 2021, Rule 15
Requirement: UIN linked to FCM and RPS serial numbers
Implementation: Database enforces unique FCM/RPS serials; modification triggers re-registration
Drone Rules 2021, Rules 19-24
Requirement: Red/Yellow/Green zone compliance
Implementation: Real-time zone validation API; geofencing before flight approval
BVA 2024, Section 45
Requirement: Penalties up to ₹1 Crore for violations
Implementation: Compliance violation tracking with severity and penalty sections
Draft Bill 2025, Section 30
Requirement: Mandatory maintenance records
Implementation: Digital logbook with technician e-signatures; immutable audit log
NPNT Protocol
Requirement: No Permission No Takeoff
Implementation: 9-point validation; signed permission artifacts before motor arm
Important Notice
This platform uses mock implementations for Digital Sky API integration. For production deployment, integrate with actual DGCA Digital Sky Platform APIs.