This document defines all enumerations used across the UDAI system. Each enum has a category, name, integer value, a description, and an active status (1 = enabled, 0 = disabled).
Status
Used as a common status field across multiple models (User, Organisation, Drone, etc.).
| Enum | Value | Description | Status |
|---|---|---|---|
| Unverified | 0 | Account created but not yet verified via email or phone | 1 |
| Active | 1 | Fully verified and operational | 1 |
| Inactive | -1 | Account exists but is deactivated or dormant | 1 |
| Banned | -2 | Account has been suspended or permanently banned | 1 |
Org Type
Classifies the type of organisation registered on the UDAI platform.
| Enum | Value | Description | Status |
|---|---|---|---|
| Asset Manufacturer | 1 | Organisation that manufactures assets | 1 |
| Asset Owner | 2 | Organisation that owns and operates assets | 1 |
| Airspace Manager | 3 | Organisation responsible for managing designated airspace segments | 1 |
| Airspace Monitor | 4 | Organisation authorised to monitor airspace activity | 1 |
| Remote Pilot Training Organisation | 5 | RPTO: approved to train and certify remote pilots | 1 |
| Type Certification Body | 6 | Organisation authorised to evaluate and certify drone models | 1 |
| DGCA | 7 | Directorate General of Civil Aviation: the national aviation regulator | 1 |
Org Business Identifiers
Defines the type keys used inside the org_business_identifiers JSON field on the Organisation model. Each key represents a unique government-issued company document.
| Enum | Value | Description | Status |
|---|---|---|---|
| CIN | 1 | Corporate Identification Number issued by MCA | 1 |
| GSTIN | 2 | Goods and Services Tax Identification Number | 1 |
| PAN | 3 | Permanent Account Number issued by Income Tax dept | 1 |
| MSME | 4 | MSME / Udyam Registration Number | 1 |
| DPIIT | 5 | DPIIT Startup India Recognition Number | 1 |
Member Type
Classifies whether the member of a resource is an individual user or another organisation.
| Enum | Value | Description | Status |
|---|---|---|---|
| User | 1 | Individual user (e.g., member of an organisation) | 1 |
| Organisation | 2 | Organisation (e.g., owner of a drone or manager of a zone) | 1 |
Invitee Type
Classifies whether the recipient of an invitation is an individual user or another organisation.
| Enum | Value | Description | Status |
|---|---|---|---|
| User | 1 | Invitation sent to a user (e.g., to join an org) | 1 |
| Organisation | 2 | Invitation/Transfer sent to an organisation (e.g., drone transfer) | 1 |
Org Membership Role
Defines the role a user holds within an organisation.
| Enum | Value | Description | Status |
|---|---|---|---|
| Member | 1 | Standard member: can operate within the org | 1 |
| Admin | 2 | Administrator: can manage users and settings | 1 |
| Owner | 3 | Organisation owner: full control, cannot be removed | 1 |
Resource Membership Status
Tracks the current state of an active relationship between a member and a resource.
| Enum | Value | Description | Status |
|---|---|---|---|
| Active | 1 | Membership is valid and operational | 1 |
| Inactive | -1 | Membership has been deactivated (soft-deleted) | 1 |
| Removed | -2 | Membership was explicitly removed by an administrative action | 1 |
| Expired | -3 | Temporary membership period has lapsed | 1 |
Resource Type
Defines the target object for a unified invitation or membership.
| Enum | Value | Description | Status |
|---|---|---|---|
| Organisation | 1 | Invitation to join an organisation | 1 |
| Asset | 2 | Request for asset ownership transfer | 1 |
| Airspace Zone | 3 | Invitation to manage or monitor a zone | 1 |
Resource Invitation Status
Tracks the lifecycle of a unified resource invitation or transfer request.
| Enum | Value | Description | Status |
|---|---|---|---|
| Pending | 0 | Invitation sent, awaiting response from the invitee | 1 |
| Accepted | 1 | Invitee accepted the invitation | 1 |
| Declined | -1 | Invitee explicitly declined the invitation | 1 |
| Expired | -2 | Invitation token lapsed before a response was received | 1 |
| Revoked | -3 | Invitation cancelled by the initiator | 1 |
Resource Invite Mode
Identifies the communication channel used for sending the invitation.
| Enum | Value | Description | Status |
|---|---|---|---|
| 1 | Invitation sent via registered email | 1 | |
| phone | 2 | Invitation sent via SMS/OTP | 1 |
Pilot Credentials: Category
The aircraft category for which the pilot holds credentials.
| Enum | Value | Description | Status |
|---|---|---|---|
| Aeroplane | 1 | Fixed-wing aircraft | 1 |
| Rotorcraft | 2 | Rotary-wing aircraft (e.g. helicopter, multi-rotor) | 1 |
| Hybrid | 3 | Aircraft combining fixed-wing and rotary characteristics | 1 |
Pilot Credentials: Sub-Category
The operational sub-category for which the pilot is certified.
| Enum | Value | Description | Status |
|---|---|---|---|
| Model RPAS | 1 | Remotely piloted aircraft used for recreational/model flying | 1 |
| RPAS | 2 | Standard remotely piloted aircraft system | 1 |
| Autonomous | 3 | Aircraft capable of autonomous / beyond-line-of-sight operations | 1 |
Pilot Credentials: Class
The permissible drone size/class the pilot is certified to operate.
| Enum | Value | Description | Status |
|---|---|---|---|
| Nano | 1 | Weight ≤ 250 g | 1 |
| Micro | 2 | Weight > 250 g and ≤ 2 kg | 1 |
| Small | 3 | Weight > 2 kg and ≤ 25 kg | 1 |
| Medium | 4 | Weight > 25 kg and ≤ 150 kg | 1 |
| Large | 5 | Weight > 150 kg | 1 |
Payload Type
Classifies the type of payload attached to a drone.
| Enum | Value | Description | Status |
|---|---|---|---|
| RGB Camera | 1 | Standard visual spectrum camera | 1 |
| Thermal Camera | 2 | Infrared/thermal imaging sensor | 1 |
| LiDAR | 3 | Light Detection and Ranging sensor for 3D mapping | 1 |
| Delivery Box | 4 | Physical container for goods transport | 1 |
| Multispectral | 5 | Sensor capturing images at specific frequencies across electromagnetic spectrum | 1 |
| Spraying Tank | 6 | Tank and nozzle system for agricultural or chemical spraying | 1 |
Data Source
Tracks the origin of a record. Used on Assets, Asset Models, and Pilot Credentials.
| Enum | Value | Description | Status |
|---|---|---|---|
| Self Declared | 1 | Record submitted directly by the user | 1 |
| DGCA API | 2 | Record sourced directly from the DGCA API | 1 |
Asset UIN Status
Tracks the state of Unique Identification Number generation by DGCA for an asset.
| Enum | Value | Description | Status |
|---|---|---|---|
| Pending | 0 | Awaiting UIN generation from DGCA external system | 1 |
| Generated | 1 | UIN successfully generated and synchronized | 1 |
| Failed | -1 | UIN generation failed or was rejected | 1 |
Certificate Status
Tracks the lifecycle state of a certificate issued against an asset.
| Enum | Value | Description | Status |
|---|---|---|---|
| Revoked | 0 | Certificate has been manually revoked | 1 |
| Active | 1 | Certificate is currently valid | 1 |
| Superseded | 2 | Certificate was replaced by a newer certificate | 1 |
Mission Status
Represents the overall lifecycle state of a Mission.
| Enum | Value | Description | Status |
|---|---|---|---|
| Draft | 0 | Mission created but not yet fully approved or active | 1 |
| Approved | 1 | Mission permissions granted, ready for execution | 1 |
| Active | 2 | Mission currently in progress | 1 |
| Completed | 3 | Mission finished and closed | 1 |
| Inactive | -1 | Mission cancelled or soft-deleted | 1 |
Flight Plan Status
Represents the state of a single Flight Plan within a Mission.
| Enum | Value | Description | Status |
|---|---|---|---|
| Scheduled | 0 | Flight plan filed and awaiting execution window | 1 |
| In-Flight | 1 | Drone currently airborne and executing this plan | 1 |
| Completed | 2 | Flight successfully finished | 1 |
| Cancelled | -1 | Flight plan cancelled before or during execution | 1 |
Permission Status
Tracks the approval state of an airspace access request linked to a Mission or Flight Plan (Pending / Approved / Rejected).
| Enum | Value | Description | Status |
|---|---|---|---|
| Pending | 0 | Request raised, awaiting evaluation by airspace manager | 1 |
| Approved | 1 | Access granted for the specified bounds and time window | 1 |
| Rejected | -1 | Access denied by the airspace manager | 1 |
Airspace Zone Type
Classifies the restriction level and operational context of an airspace zone.
| Enum | Value | Description | Status |
|---|---|---|---|
| Red Zone | 1 | Permanently restricted: no drone operations permitted | 1 |
| Airport Red Zone | 2 | Restricted zone around an active airport perimeter | 1 |
| Inner Yellow Zone | 3 | Inner caution zone: operations require prior permission | 1 |
| Outer Yellow Zone | 4 | Outer caution zone: operations require notification only | 1 |
| Temporary Red Zone | 5 | Temporarily restricted for a defined period (e.g. NOTAM, event) | 1 |
| Awareness Zone | 6 | Zone under active monitoring: operations may proceed with awareness | 1 |
Airspace Zone Restriction Type
Categorises the nature of an airspace restriction. Used on the Airspace Zone model.
| Enum | Value | Description | Status |
|---|---|---|---|
| Permanent Restricted | 1 | Permanently restricted airspace (e.g. military, high security installations) | 1 |
| Temporary Restricted | 2 | Restricted for a defined time window (e.g. NOTAM, events, exercises) | 1 |
| Airport Zone | 3 | Airspace restriction around an active airport perimeter | 1 |
| Controlled Airspace | 4 | Managed airspace requiring prior coordination or permission to enter | 1 |
| Caution Zone | 5 | Advisory zone: notification required before drone operations | 1 |
Airspace Zone Membership Type
Defines the role an organisation plays within an Airspace Zone membership.
| Enum | Value | Description | Status |
|---|---|---|---|
| Manager | 1 | Org manages the zone: evaluates and grants airspace access requests | 1 |
| Monitor | 2 | Org has read-only visibility of live operational activity within the zone | 1 |
Constraint Type
Classifies the type of geospatial shape stored in the Constraint Engine.
| Enum | Value | Description | Status |
|---|---|---|---|
| Mission | 1 | Geometry belongs to a Mission (broad operational envelope) | 1 |
| Flight Plan | 2 | Geometry belongs to a Flight Plan (specific flight envelope) | 1 |
| Airspace Zone | 3 | Geometry belongs to an Airspace Restriction Zone | 1 |
| Geofence | 4 | Geometry belongs to a Geofence (boundary marker or no-fly zone) | 1 |
| Drone Corridor | 5 | Geometry belongs to a Drone Corridor (approved flight route/path) | 1 |
| Weather Cell | 6 | Geometry belongs to a Weather Cell (temporary meteorological restriction) | 1 |
Audit Event Type
Defines the action performed during an audited event.
| Enum | Value | Description | Status |
|---|---|---|---|
| CREATE | 1 | Creation of a new resource | 1 |
| UPDATE | 2 | Modification of an existing resource | 1 |
| DELETE | 3 | Deletion (soft or logic-based) of a resource | 1 |
| LOGIN | 4 | Successful user login session | 1 |
| LOGOUT | 5 | User session termination | 1 |
| ACCESS_DENIED | 6 | Authorisation failure or blocked transaction | 1 |
| STATUS_CHANGE | 7 | Specific state transition (e.g., Pending -> Approved) | 1 |
| EXPORT | 8 | Data export or batch download activity | 1 |
Audit Resource Type
Defines the entity type targeted by an audit log entry.
| Enum | Value | Description | Status |
|---|---|---|---|
| Organisation | 1 | Organisation entity | 1 |
| Asset | 2 | Physical asset | 1 |
| Airspace Zone | 3 | Airspace restriction zone | 1 |
| User | 4 | Individual user profile | 1 |
| Mission | 5 | Mission grouping | 1 |
| Flight Plan | 6 | Operational flight plan | 1 |
| Permission | 7 | Airspace access permission | 1 |
| OTP | 8 | Verification code transaction | 1 |
| Token | 9 | Authentication refresh token | 1 |
| Partner Key | 10 | Partner API key management | 1 |
Master Enum Table
| Category | Enum | Value | Description | Status |
|---|---|---|---|---|
| status | Unverified | 0 | Account created but not yet verified via email or phone | 1 |
| status | Active | 1 | Fully verified and operational | 1 |
| status | Inactive | -1 | Soft-deleted, deactivated, or dormant record | 1 |
| status | Banned | -2 | Account has been suspended or permanently banned | 1 |
| org_type | Asset Manufacturer | 1 | Organisation that manufactures assets | 1 |
| org_type | Asset Owner | 2 | Organisation that owns and operates assets | 1 |
| org_type | Airspace Manager | 3 | Organisation responsible for managing designated airspace segments | 1 |
| org_type | Airspace Monitor | 4 | Organisation authorised to monitor airspace activity | 1 |
| org_type | Remote Pilot Training Organisation | 5 | RPTO: approved to train and certify remote pilots | 1 |
| org_type | Type Certification Body | 6 | Organisation authorised to evaluate and certify drone models | 1 |
| org_type | DGCA | 7 | Directorate General of Civil Aviation: the national aviation regulator | 1 |
| org_business_identifiers | CIN | 1 | Corporate Identification Number issued by MCA | 1 |
| org_business_identifiers | GSTIN | 2 | Goods and Services Tax Identification Number | 1 |
| org_business_identifiers | PAN | 3 | Permanent Account Number issued by Income Tax dept | 1 |
| org_business_identifiers | MSME | 4 | MSME / Udyam Registration Number | 1 |
| org_business_identifiers | DPIIT | 5 | DPIIT Startup India Recognition Number | 1 |
| member_type | User | 1 | Individual user (e.g., member of an organisation) | 1 |
| member_type | Organisation | 2 | Organisation (e.g., owner of a drone or manager of a zone) | 1 |
| invitee_type | User | 1 | Invitation sent to a user (e.g., to join an org) | 1 |
| invitee_type | Organisation | 2 | Invitation/Transfer sent to an organisation (e.g., drone transfer) | 1 |
| org_membership_role | Member | 1 | Standard member: can operate within the org | 1 |
| org_membership_role | Admin | 2 | Administrator: can manage users and settings | 1 |
| org_membership_role | Owner | 3 | Organisation owner: full control, cannot be removed | 1 |
| resource_membership_status | Active | 1 | Membership is valid and operational | 1 |
| resource_membership_status | Inactive | -1 | Membership has been deactivated (soft-deleted) | 1 |
| resource_membership_status | Removed | -2 | Membership was explicitly removed by an administrative action | 1 |
| resource_membership_status | Expired | -3 | Temporary membership period has lapsed | 1 |
| resource_type | Organisation | 1 | Invitation to join an organisation | 1 |
| resource_type | Asset | 2 | Request for asset ownership transfer | 1 |
| resource_type | Airspace Zone | 3 | Invitation to manage or monitor a zone | 1 |
| resource_invitation_status | Pending | 0 | Invitation sent, awaiting response from the invitee | 1 |
| resource_invitation_status | Accepted | 1 | Invitee accepted the invitation | 1 |
| resource_invitation_status | Declined | -1 | Invitee explicitly declined the invitation | 1 |
| resource_invitation_status | Expired | -2 | Invitation token lapsed before a response was received | 1 |
| resource_invitation_status | Revoked | -3 | Invitation cancelled by the initiator | 1 |
| resource_invite_mode | 1 | Invitation sent via registered email | 1 | |
| resource_invite_mode | phone | 2 | Invitation sent via SMS/OTP | 1 |
| pilot_creds_category | Aeroplane | 1 | Fixed-wing aircraft | 1 |
| pilot_creds_category | Rotorcraft | 2 | Rotary-wing aircraft (e.g. helicopter, multi-rotor) | 1 |
| pilot_creds_category | Hybrid | 3 | Aircraft combining fixed-wing and rotary characteristics | 1 |
| pilot_creds_sub_category | Model RPAS | 1 | Remotely piloted aircraft used for recreational/model flying | 1 |
| pilot_creds_sub_category | RPAS | 2 | Standard remotely piloted aircraft system | 1 |
| pilot_creds_sub_category | Autonomous | 3 | Aircraft capable of autonomous / beyond-line-of-sight operations | 1 |
| pilot_creds_class | Nano | 1 | Weight ≤ 250 g | 1 |
| pilot_creds_class | Micro | 2 | Weight > 250 g and ≤ 2 kg | 1 |
| pilot_creds_class | Small | 3 | Weight > 2 kg and ≤ 25 kg | 1 |
| pilot_creds_class | Medium | 4 | Weight > 25 kg and ≤ 150 kg | 1 |
| pilot_creds_class | Large | 5 | Weight > 150 kg | 1 |
| payload_type | RGB Camera | 1 | Standard visual spectrum camera | 1 |
| payload_type | Thermal Camera | 2 | Infrared/thermal imaging sensor | 1 |
| payload_type | LiDAR | 3 | Light Detection and Ranging sensor for 3D mapping | 1 |
| payload_type | Delivery Box | 4 | Physical container for goods transport | 1 |
| payload_type | Multispectral | 5 | Sensor capturing images at specific frequencies across electromagnetic spectrum | 1 |
| payload_type | Spraying Tank | 6 | Tank and nozzle system for agricultural or chemical spraying | 1 |
| data_source | Self Declared | 1 | Record submitted directly by the user | 1 |
| data_source | DGCA API | 2 | Record sourced directly from the DGCA API | 1 |
| asset_uin_status | Pending | 0 | Awaiting UIN generation from DGCA external system | 1 |
| asset_uin_status | Generated | 1 | UIN successfully generated and synchronized | 1 |
| asset_uin_status | Failed | -1 | UIN generation failed or was rejected | 1 |
| certificate_status | Revoked | 0 | Certificate has been manually revoked | 1 |
| certificate_status | Active | 1 | Certificate is currently valid | 1 |
| certificate_status | Superseded | 2 | Certificate was replaced by a newer certificate | 1 |
| mission_status | Draft | 0 | Mission created but not yet fully approved or active | 1 |
| mission_status | Approved | 1 | Mission permissions granted, ready for execution | 1 |
| mission_status | Active | 2 | Mission currently in progress | 1 |
| mission_status | Completed | 3 | Mission finished and closed | 1 |
| mission_status | Inactive | -1 | Mission cancelled or soft-deleted | 1 |
| flight_plan_status | Scheduled | 0 | Flight plan filed and awaiting execution window | 1 |
| flight_plan_status | In-Flight | 1 | Drone currently airborne and executing this plan | 1 |
| flight_plan_status | Completed | 2 | Flight successfully finished | 1 |
| flight_plan_status | Cancelled | -1 | Flight plan cancelled before or during execution | 1 |
| permission_status | Pending | 0 | Request raised, awaiting evaluation by airspace manager | 1 |
| permission_status | Approved | 1 | Access granted for the specified bounds and time window | 1 |
| permission_status | Rejected | -1 | Access denied by the airspace manager | 1 |
| airspace_zone_type | Red Zone | 1 | Permanently restricted: no drone operations permitted | 1 |
| airspace_zone_type | Airport Red Zone | 2 | Restricted zone around an active airport perimeter | 1 |
| airspace_zone_type | Inner Yellow Zone | 3 | Inner caution zone: operations require prior permission | 1 |
| airspace_zone_type | Outer Yellow Zone | 4 | Outer caution zone: operations require notification only | 1 |
| airspace_zone_type | Temporary Red Zone | 5 | Temporarily restricted for a defined period (e.g. NOTAM, event) | 1 |
| airspace_zone_type | Awareness Zone | 6 | Zone under active monitoring: operations may proceed with awareness | 1 |
| airspace_restriction_type | Permanent Restricted | 1 | Permanently restricted airspace (e.g. military, high security) | 1 |
| airspace_restriction_type | Temporary Restricted | 2 | Restricted for a defined time window (e.g. NOTAM, events) | 1 |
| airspace_restriction_type | Airport Zone | 3 | Airspace restriction around active airport perimeter | 1 |
| airspace_restriction_type | Controlled Airspace | 4 | Managed airspace requiring prior coordination or permission | 1 |
| airspace_restriction_type | Caution Zone | 5 | Advisory zone: notification required before operations | 1 |
| airspace_membership_type | Manager | 1 | Org manages the zone and evaluates airspace access requests | 1 |
| airspace_membership_type | Monitor | 2 | Org has read-only visibility of live activity within the zone | 1 |
| constraint_type | Mission | 1 | Geometry belongs to a Mission (broad operational envelope) | 1 |
| constraint_type | Flight Plan | 2 | Geometry belongs to a Flight Plan (specific flight envelope) | 1 |
| constraint_type | Airspace Zone | 3 | Geometry belongs to an Airspace Zone | 1 |
| constraint_type | Geofence | 4 | Geometry belongs to a Geofence (boundary marker or no-fly zone) | 1 |
| constraint_type | Drone Corridor | 5 | Geometry belongs to a Drone Corridor (approved flight route/path) | 1 |
| constraint_type | Weather Cell | 6 | Geometry belongs to a Weather Cell (temporary meteorological restriction) | 1 |
| audit_event_type | CREATE | 1 | Creation of a new resource | 1 |
| audit_event_type | UPDATE | 2 | Modification of an existing resource | 1 |
| audit_event_type | DELETE | 3 | Deletion of a resource | 1 |
| audit_event_type | LOGIN | 4 | Successful user login session | 1 |
| audit_event_type | LOGOUT | 5 | User session termination | 1 |
| audit_event_type | ACCESS_DENIED | 6 | Authorisation failure | 1 |
| audit_event_type | STATUS_CHANGE | 7 | State transition | 1 |
| audit_event_type | EXPORT | 8 | Data export activity | 1 |
| audit_resource_type | Organisation | 1 | Organisation entity | 1 |
| audit_resource_type | Asset | 2 | Physical asset | 1 |
| audit_resource_type | Airspace Zone | 3 | Airspace restriction zone | 1 |
| audit_resource_type | User | 4 | Individual user profile | 1 |
| audit_resource_type | Mission | 5 | Mission grouping | 1 |
| audit_resource_type | Flight Plan | 6 | Operational flight plan | 1 |
| audit_resource_type | Permission | 7 | Airspace access permission | 1 |
| audit_resource_type | OTP | 8 | Verification code transaction | 1 |
| audit_resource_type | Token | 9 | Authentication refresh token | 1 |
| audit_resource_type | Partner Key | 10 | Partner API key management | 1 |