Crego APIs
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
APIs DocHome Page
Web Apps
  • Jupiter
  • Venus
  1. APIs Doc
  • Back to home
  • Sample Flow
  • Send Otp
    POST
  • Submit Otp
    POST
  • Create Runner
    POST
  • PAN or GST
    POST
  • Business Info
    POST
  • Shareholders
    POST
  • Business Extraa Info
    POST
  • Business Assest Detail
    POST
  • Applicant List
    GET
  • Submit Application
    POST
  • Set Current Applicant
    POST
  • Document upload
    POST
  • Get Document
    GET
  • Applicant Pan , Aadhaar and Mobile
    POST
  • Applicant Extraa Info
    POST
  • Applicant Bank Details
    POST
  • Signing Form
    POST
  1. APIs Doc

PAN or GST

Developing
preprod
https://preprod.api.crego.io
preprod
https://preprod.api.crego.io
POST
/v1/rego/runners/{runner_id}/execute/
Last modified:2025-03-05 13:58:49

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Body Params application/json

Example
{
    "action": "submit",
    "data": {
        "type": "GST",
        "gst_no": "29AACCG0527D1Z0",
        "pan_no":""
    }
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://preprod.api.crego.io/v1/rego/runners/{{runner_id}}/execute/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "action": "submit",
    "data": {
        "type": "GST",
        "gst_no": "29AACCG0527D1Z0",
        "pan_no":""
    }
}'

Responses

🟢200Success
application/json
Body

Example
{
    "id": "c296a37d-f11d-4d32-bff8-5824a1af5ed9",
    "created_at": "2025-03-05T13:38:23.683000",
    "updated_at": "2025-03-05T13:44:35.475526",
    "created_by": "7880340889",
    "ref_id": "RUNNER-253-647",
    "flow_id": "264500a4-3873-4cb7-baf9-0a4656bff933",
    "design_id": "234ee7a1-6940-49f1-bd7e-d23f1b2625d0",
    "params": {
        "storage": {
            "vendor": "${SECRET.storage.vendor}",
            "creds_key": "test_storage_s3_creds"
        }
    },
    "current_node": "business_info",
    "store_id": "52bcdaf3-6e98-4647-9eb3-acac6dd1d516",
    "visited_nodes": {
        "_cls": "Activity"
    },
    "store_info": {},
    "data": {
        "_status_code": 200,
        "gstin": "29AACCG0527D1Z0",
        "id": 91,
        "result": {
            "gstnDetailed": {
                "constitutionOfBusiness": "PRIVATE LIMITED COMPANY",
                "legalNameOfBusiness": "GOOGLE INDIA PRIVATE LIMTED",
                "tradeNameOfBusiness": "GOOGLE INDIA PRIVATE LIMITED",
                "centreJurisdiction": "STATE - CBIC,ZONE - BENGALURU,COMMISSIONERATE - BENGALURU EAST,DIVISION - EAST DIVISION-6,RANGE - RANGE-BED6",
                "stateJurisdiction": "STATE - KARNATAKA,DIVISION - LARGE TAXPAYERS UNIT -LTU, BENGALURU, LOCAL GST OFFICE - LGSTO LTU, BENGALURU (JURISDICTIONAL OFFICE)",
                "registrationDate": "2017-07-01",
                "taxPayerDate": "",
                "taxPayerType": "REGULAR",
                "gstinStatus": "ACTIVE",
                "cancellationDate": "",
                "natureOfBusinessActivities": [
                    "EOU / STP / EHTP",
                    "SERVICE PROVISION",
                    "RECIPIENT OF GOODS OR SERVICES",
                    "SUPPLIER OF SERVICES"
                ],
                "principalPlaceLatitude": "",
                "principalPlaceLongitude": "",
                "principalPlaceStreet": "",
                "principalPlaceLocality": "",
                "principalPlaceCity": "",
                "principalPlaceDistrict": "",
                "principalPlaceState": "",
                "principalPlacePincode": "",
                "additionalPlaceLatitude": "",
                "additionalPlaceLongitude": "",
                "additionalPlaceStreet": "",
                "additionalPlaceLocality": "",
                "additionalPlaceCity": "",
                "additionalPlaceDistrict": "",
                "additionalPlaceState": "",
                "additionalPlacePincode": "",
                "complianceRating": "",
                "additionalPlaceAddress": [
                    {
                        "emailId": "in-accountants@google.com",
                        "address": "Level 11 and 12 floors, Survery no. 58/2, 59/2, Carina Block, Outer Ring Road, Doddanekkundi Village, Krishnarajapuram Hobli, Bengaluru Urban, Karnataka, 560048",
                        "natureOfBusiness": "RECIPIENT OF GOODS OR SERVICES, EOU / STP / EHTP",
                        "mobile": "9154036028",
                        "lastUpdatedDate": "",
                        "splitAddress": {
                            "district": [
                                "BANGALORE"
                            ],
                            "state": [
                                [
                                    "KARNATAKA",
                                    "KA"
                                ]
                            ],
                            "city": [
                                "BANGALORE NORTH"
                            ],
                            "pincode": "560048",
                            "country": [
                                "IN",
                                "IND",
                                "INDIA"
                            ],
                            "addressLine": "LEVEL 11 AND 12 FLOORS,SURVERY NO.58/2,59/2,CARINA BLOCK,OUTER RING ROAD,DODDANEKKUNDI VILLAGE,KRISHNARAJAPURAM HOBLI,BENGALURU URBAN"
                        }
                    }
                ],
                "directorNames": [
                    "KENNETH HOHEE YI",
                    "ROBERT EARNEST ANDREATTA",
                    "FIONA MARY BONES",
                    "KASHIMAT VISHWANATHASWAMY VISHNU PRASAD"
                ],
                "principalPlaceAddress": {
                    "emailId": "in-accountants@google.com",
                    "address": "4, No. 3, TOWER -E, RMZ INFINITY TOWERS, OLD MADRAS ROAD, Bangalore, Bengaluru Urban, Karnataka, 560016",
                    "natureOfBusiness": "EOU / STP / EHTP, SERVICE PROVISION, RECIPIENT OF GOODS OR SERVICES",
                    "mobile": "9154036028",
                    "lastUpdatedDate": "",
                    "splitAddress": {
                        "district": [
                            "BANGALORE"
                        ],
                        "state": [
                            [
                                "KARNATAKA",
                                "KA"
                            ]
                        ],
                        "city": [
                            "BANGALORE NORTH"
                        ],
                        "pincode": "560016",
                        "country": [
                            "IN",
                            "IND",
                            "INDIA"
                        ],
                        "addressLine": "4,NO.3,TOWER E,RMZ INFINITY TOWERS,OLD MADRAS ROAD BENGALURU URBAN"
                    }
                }
            },
            "gstnRecords": [
                {
                    "applicationStatus": "",
                    "registrationName": "GOOGLE INDIA PRIVATE LIMTED",
                    "mobNum": "",
                    "regType": "",
                    "emailId": "",
                    "tinNumber": "",
                    "gstinRefId": "",
                    "gstin": "29AACCG0527D1Z0"
                }
            ],
            "gstin": "29AACCG0527D1Z0",
            "annualAggregateTurnOver": "Slab: Rs. 500 Cr. and above",
            "aggregateTurnOverRange": {
                "minimum": 5000000000,
                "maximum": null
            },
            "grossTotalIncome": "NA",
            "grossTotalIncomeFinancialYear": "2023-2024",
            "filingStatus": [
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "March",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/04/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "February",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/03/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "January",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/02/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "December",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/01/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "November",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/12/2023",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "October",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/11/2023",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "September",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/10/2023",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "August",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/09/2023",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "July",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/08/2023",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "June",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/07/2023",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "March",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/04/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "February",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/03/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "January",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/02/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "December",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/01/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "November",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/12/2023",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "October",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/11/2023",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "September",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/10/2023",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "August",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/09/2023",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "July",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/08/2023",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "June",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/07/2023",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "Annual",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "30/12/2024",
                    "gstType": "GSTR9",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2023-2024",
                    "monthOfFiling": "Annual",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "30/12/2024",
                    "gstType": "GSTR9C",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "January",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/02/2025",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "December",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "13/01/2025",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "November",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/12/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "October",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/11/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "September",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/10/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "August",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/09/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "July",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/08/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "June",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/07/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "May",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/06/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "April",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "11/05/2024",
                    "gstType": "GSTR1",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "October",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/11/2024",
                    "gstType": "GSTR1A",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "January",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/02/2025",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "December",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "22/01/2025",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "November",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/12/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "October",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/11/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "September",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/10/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "August",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/09/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "July",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/08/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "June",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/07/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "May",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/06/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                },
                {
                    "filingYear": "2024-2025",
                    "monthOfFiling": "April",
                    "methodOfFilling": "ONLINE",
                    "dateOfFiling": "20/05/2024",
                    "gstType": "GSTR3B",
                    "gstStatus": "Filed"
                }
            ]
        }
    },
    "node": {
        "name": "business_info",
        "type": "web_form",
        "config": {
            "forms": [
                {
                    "action": "submit",
                    "form_data": {
                        "business": {
                            "pan_no": "AACCG0527D",
                            "gst_details": {},
                            "gst_no": "29AACCG0527D1Z0",
                            "state": "",
                            "name": "GOOGLE INDIA PRIVATE LIMITED",
                            "corporation_date": "2017-07-01",
                            "business_type": "PRIVATE LIMITED COMPANY",
                            "email": "in-accountants@google.com",
                            "registered_address": {
                                "address_line": "4,NO.3,TOWER E,RMZ INFINITY TOWERS,OLD MADRAS ROAD BENGALURU URBAN",
                                "city": "BANGALORE NORTH",
                                "state": "KARNATAKA",
                                "pincode": "560016"
                            }
                        }
                    },
                    "schema": {
                        "definitions": {
                            "State": {
                                "type": "string",
                                "title": "State",
                                "enum": [
                                    "ANDAMAN AND NICOBAR ISLANDS",
                                    "ANDHRA PRADESH",
                                    "ARUNACHAL PRADESH",
                                    "ASSAM",
                                    "BIHAR",
                                    "CHANDIGARH",
                                    "CHATTISGARH",
                                    "DADRA AND NAGAR HAVELI AND DAMAN AND DIU",
                                    "DELHI",
                                    "GOA",
                                    "GUJARAT",
                                    "HARYANA",
                                    "HIMACHAL PRADESH",
                                    "JAMMU AND KASHMIR",
                                    "JHARKHAND",
                                    "KARNATAKA",
                                    "KERALA",
                                    "LADAKH",
                                    "LAKSHADWEEP",
                                    "MADHYA PRADESH",
                                    "MAHARASHTRA",
                                    "MANIPUR",
                                    "MEGHALAYA",
                                    "MIZORAM",
                                    "NAGALAND",
                                    "ODISHA",
                                    "PUDUCHERRY",
                                    "PUNJAB",
                                    "RAJASTHAN",
                                    "SIKKIM",
                                    "TAMIL NADU",
                                    "TELANGANA",
                                    "TRIPURA",
                                    "UTTAR PRADESH",
                                    "UTTARAKHAND",
                                    "WEST BENGAL"
                                ]
                            },
                            "AddressProof": {
                                "title": "Address Proof",
                                "type": "object",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "description": "Name of document",
                                        "enum": [
                                            "Aadhaar",
                                            "Passport",
                                            "Voter ID",
                                            "Driving License",
                                            "Ration Card"
                                        ]
                                    },
                                    "document_id": {
                                        "type": "string",
                                        "title": "Document",
                                        "format": "document"
                                    }
                                },
                                "required": [
                                    "document_id",
                                    "name"
                                ]
                            },
                            "Address": {
                                "type": "object",
                                "properties": {
                                    "address_line": {
                                        "type": "string",
                                        "title": "Address Line"
                                    },
                                    "city": {
                                        "type": "string",
                                        "title": "City",
                                        "pattern": "^[A-Za-z -.0-9']*$"
                                    },
                                    "state": {
                                        "$ref": "#/definitions/State"
                                    },
                                    "pincode": {
                                        "type": "string",
                                        "title": "Pincode",
                                        "pattern": "^[0-9]{6}$"
                                    },
                                    "proof": {
                                        "$ref": "#/definitions/AddressProof"
                                    }
                                },
                                "required": [
                                    "address_line",
                                    "city",
                                    "state",
                                    "pincode"
                                ]
                            }
                        },
                        "type": "object",
                        "properties": {
                            "business": {
                                "type": "object",
                                "title": "Business Details",
                                "properties": {
                                    "name": {
                                        "type": "string",
                                        "title": "Name of business",
                                        "maxLength": 100,
                                        "minLength": 3
                                    },
                                    "corporation_date": {
                                        "type": "string",
                                        "title": "Date of incorporation",
                                        "format": "date",
                                        "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
                                    },
                                    "gst_no": {
                                        "type": "string",
                                        "title": "GST of business",
                                        "pattern": "^[0-9]{2}[A-Z]{5}[0-9]{4}[A-Z]{1}[0-9]{1}[A-Z]{1}[0-9A-Z]{1}$"
                                    },
                                    "email": {
                                        "type": "string",
                                        "format": "email",
                                        "description": "Email of business",
                                        "pattern": "^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\\.[a-zA-Z]{2,}$"
                                    },
                                    "geolocation": {
                                        "type": "string",
                                        "title": "Business Co-Ordinates"
                                    },
                                    "business_proof": {
                                        "type": "object",
                                        "title": "Business proof",
                                        "properties": {
                                            "name": {
                                                "type": "string",
                                                "description": "Name of document",
                                                "enum": [
                                                    "GST",
                                                    "PAN",
                                                    "Udyam Aadhaar",
                                                    "TAN",
                                                    "CIN",
                                                    "FASSAI License",
                                                    "Drug License",
                                                    "MOA",
                                                    "AOA",
                                                    "Partnership Deed",
                                                    "Board Resolution",
                                                    "Shop Act License",
                                                    "Trade License",
                                                    "ITR",
                                                    "Current Account Passbook",
                                                    "Other"
                                                ]
                                            },
                                            "document_id": {
                                                "type": "string",
                                                "title": "Document",
                                                "format": "document"
                                            }
                                        },
                                        "required": [
                                            "document_id",
                                            "name"
                                        ]
                                    },
                                    "registered_address": {
                                        "type": "object",
                                        "title": "Registered Address",
                                        "default": "{'address_line': '4,NO.3,TOWER E,RMZ INFINITY TOWERS,OLD MADRAS ROAD BENGALURU URBAN', 'city': 'BANGALORE NORTH', 'state': 'KARNATAKA', 'pincode': '560016'}",
                                        "$ref": "#/definitions/Address"
                                    },
                                    "current_address": {
                                        "type": "object",
                                        "title": "Current Address",
                                        "properties": {
                                            "same_as_registered_address": {
                                                "type": "boolean",
                                                "title": "Same as Registered Address?"
                                            }
                                        },
                                        "allOf": [
                                            {
                                                "if": {
                                                    "properties": {
                                                        "same_as_registered_address": {
                                                            "const": false
                                                        }
                                                    }
                                                },
                                                "then": {
                                                    "properties": {
                                                        "address_line": {
                                                            "type": "string",
                                                            "title": "Address Line"
                                                        },
                                                        "city": {
                                                            "type": "string",
                                                            "title": "City",
                                                            "pattern": "^[A-Za-z -.0-9']*$"
                                                        },
                                                        "state": {
                                                            "$ref": "#/definitions/State"
                                                        },
                                                        "pincode": {
                                                            "type": "string",
                                                            "title": "Pincode",
                                                            "pattern": "^[0-9]{6}$"
                                                        },
                                                        "proof": {
                                                            "$ref": "#/definitions/AddressProof"
                                                        }
                                                    },
                                                    "required": [
                                                        "address_line",
                                                        "city",
                                                        "state",
                                                        "pincode"
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                }
                            }
                        },
                        "required": [
                            "business"
                        ]
                    },
                    "ui": {
                        "business": {
                            "name": {
                                "ui:disabled": "True"
                            },
                            "corporation_date": {
                                "ui:disabled": "True"
                            },
                            "gst_no": {
                                "ui:disabled": true
                            },
                            "geolocation": {
                                "ui:widget": "geolocation"
                            },
                            "business_proof": {
                                "name": {
                                    "ui:placeholder": "Select Document Type"
                                },
                                "document_id": {
                                    "title": "Document",
                                    "ui:widget": "file"
                                }
                            },
                            "registered_address": {
                                "pincode": {
                                    "errors": {
                                        "pattern": "Please enter a valid 6 digit pincode"
                                    }
                                },
                                "proof": {
                                    "name": {
                                        "ui:placeholder": "Select Document Type"
                                    },
                                    "document_id": {
                                        "ui:widget": "file"
                                    }
                                }
                            },
                            "current_address": {
                                "pincode": {
                                    "errors": {
                                        "pattern": "Please enter a valid 6 digit pincode"
                                    }
                                },
                                "proof": {
                                    "name": {
                                        "ui:placeholder": "Select Document Type"
                                    },
                                    "document_id": {
                                        "ui:widget": "file"
                                    }
                                }
                            }
                        }
                    }
                }
            ]
        },
        "navigations": []
    }
}
Modified at 2025-03-05 13:58:49
Previous
Create Runner
Next
Business Info
Built with