swagger fix #20

Merged
pavithra merged 1 commits from mohan into master 2026-06-24 16:19:08 +00:00

View File

@ -63,17 +63,30 @@
"type": "object",
"description": "Optional JSON object containing extracted organization/trade license details.",
"properties": {
"license_number": {
"type": "string",
"example": "123456"
},
"organization_name": {
"type": "string",
"example": "Al-Rashidi Charitable Foundation"
},
"expiry_date": {
"type": "string",
"example": "2028-06-12"
"document_type": { "type": "string", "example": "dubai_commercial_license" },
"country": { "type": "string", "example": "United Arab Emirates" },
"authority": { "type": "string", "example": "Dubai Economy and Tourism" },
"license_no": { "type": "string", "example": "1426961" },
"company_name": { "type": "string", "example": "NEST CLIMATE TECHNICAL SERVICES L.L.C" },
"business_name": { "type": "string", "example": "NEST CLIMATE TECHNICAL SERVICES L.L.C" },
"license_category": { "type": "string", "example": "Dep. of Economic Development" },
"legal_type": { "type": "string", "example": "Limited Liability Company(LLC)" },
"issue_date": { "type": "string", "example": "22/10/2024" },
"expiry_date": { "type": "string", "example": "21/10/2026" },
"main_license_no": { "type": "string", "example": "1426961" },
"register_no": { "type": "string", "example": "2436760" },
"dcci_no": { "type": "string", "example": "570232" },
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"person_no": { "type": "string", "example": "1709285" },
"name": { "type": "string", "example": "SEYED ABDUL RAHMAN SHERIF NISAR" },
"nationality": { "type": "string", "example": "India" },
"role": { "type": "string", "example": "Manager" }
}
}
}
}
},
@ -124,11 +137,8 @@
"card_number": {
"type": "string",
"example": "151023946"
},
"gender": {
"type": "string",
"example": "M"
}
}
},
"organization_name": {
@ -6630,6 +6640,39 @@
"type": "string",
"example": "fcm_token_example"
},
"license": {
"type": "object",
"properties": {
"document_type": { "type": "string", "example": "dubai_commercial_license" },
"country": { "type": "string", "example": "United Arab Emirates" },
"authority": { "type": "string", "example": "Dubai Economy and Tourism" },
"license_no": { "type": "string", "example": "1426961" },
"company_name": { "type": "string", "example": "NEST CLIMATE TECHNICAL SERVICES L.L.C" },
"business_name": { "type": "string", "example": "NEST CLIMATE TECHNICAL SERVICES L.L.C" },
"license_category": { "type": "string", "example": "Dep. of Economic Development" },
"legal_type": { "type": "string", "example": "Limited Liability Company(LLC)" },
"issue_date": { "type": "string", "example": "22/10/2024" },
"expiry_date": { "type": "string", "example": "21/10/2026" },
"main_license_no": { "type": "string", "example": "1426961" },
"register_no": { "type": "string", "example": "2436760" },
"dcci_no": { "type": "string", "example": "570232" }
}
},
"emirates_id": {
"type": "object",
"properties": {
"emirates_id_number": { "type": "string", "example": "784-1988-5310327-2" },
"name": { "type": "string", "example": "KRISHNA PRASAD" },
"date_of_birth": { "type": "string", "example": "1988-03-22" },
"issue_date": { "type": "string", "example": "2023-04-11" },
"expiry_date": { "type": "string", "example": "2028-04-11" },
"employer": { "type": "string", "example": "Federal Authority" },
"issue_place": { "type": "string", "example": "Abu Dhabi" },
"occupation": { "type": "string", "example": "Manager" },
"nationality": { "type": "string", "example": "NPL" },
"gender": { "type": "string", "example": "Male" }
}
},
"created_at": {
"type": "string",
"format": "date-time"