MOSIP Docs 1.2.0
GitHubCommunityTech BlogsWhat's NewChatBot
  • MOSIP
    • Overview
    • License
    • Principles
      • Inclusion
      • Privacy and Security
        • Security
        • Data Protection
        • Privacy
    • Technology
      • Architecture
      • Digital ID DPI Framework
      • Technology Stack
      • API
      • Sandbox Details
    • Standards & Specifications
      • MOSIP Standards
        • 169 - QR Code Specifications
        • 169 - QR Code Specifications 1.0.0
    • Inji
    • eSignet
  • ID Lifecycle Management
    • Identity Issuance
      • Pre-registration
        • Overview
          • Features
        • Develop
          • Developers Guide
          • UI Specifications
        • Test
          • Try It Out
          • End User Guide
          • Pre-registration Collab Guide
      • Registration Client
        • Overview
          • Features
        • Develop
          • Developers Guide
          • UI Specifications
        • Test
          • Try It Out
          • End User Guide
          • Registration Client Collab Guide
        • Deploy
          • Installation Guide
          • Operator Onboarding
          • Configuration Guide
          • Settings page
        • Telemetry from Registration Client
      • Android Registration Client
        • Overview
          • Features
        • Develop
          • Developer Guide
          • UI Specification
          • Technology Stack
        • Test
          • End User Guide
          • Collab Guide
        • Deploy
          • Configuration Guide
      • Registration Processor
        • Overview
          • Features
        • Develop
          • Registration Processor Developers Guide
        • Test
          • Credential Requestor Stage
          • Manual Adjudication and Verification
        • Deploy
          • Configurations Details
          • Deploy
      • ID Repository
        • Credential Request Generator Service Developers Guide
        • Identity Service Developers Guide
        • VID Service Developers Guide
        • .well-known
        • Custom Handle Implementation Guide
    • Identity Verification
      • ID Authentication Services
        • ID Authentication Demographic Data Normalization
        • ID Authentication Service Developers Guide
        • ID Authentication OTP Service Developer Guide
        • ID Authentication Internal Service Developers Guide
        • MOSIP Authentication SDK
      • ID Authentication
    • Identity Management
      • ID Schema
      • Identifiers
      • Resident Portal
        • Overview
          • Features
        • Develop
          • Developers Guide
          • UI Developers Guide
          • UI Specifications
          • Technology Stack
        • Test
          • Functional Overview
          • End User Guide
          • Collab Guide
        • Deploy
          • Deployment Guide
          • Configuration Guide
          • Configuring Resident OIDC Client
          • Browsers Supported
    • Support Systems
      • Administration
        • Develop
          • Admin Services Developers Guide
        • Test
          • Try it out
          • Admin Portal User Guide
          • Admin Portal Collab Guide
        • Masterdata Guide
      • Partner Management System
        • Partners
        • Overview
          • Features
        • Develop
          • Architecture
          • Technology Stack
          • Backend Developers Guide
          • UI Developers Guide
          • Build and Development Guide
          • New Language Support
          • Browsers Supported
        • Test
          • Try It Out
          • Partner Administrator
          • Policy Manager
          • Authentication Partner
          • Device Provider
          • FTM Chip Provider
          • PMS Collab Guide
        • Deploy
          • PMS Configuration Guide
          • API changes with PMS Revamp
        • PMS Legacy
          • Partner Management System
          • Partner Management Portal
          • Auth Partner
          • Device Provider
          • Foundational Trust Provider
          • Partner Management Services Developers Guide
      • Reporting
        • Anonymous Profiling Support
    • Supporting Components
      • Biometrics
        • ABIS
        • ABIS API
        • Biometric SDK
        • Biometric Devices
        • FTM
        • Biometric Specification
        • MDS Specification
        • CBEFF
        • Compliance Tool Kit
      • Commons
        • Commons Developers Guide
        • Audit Manager Developers Guide
        • OpenID-Bridge Developers Guide
        • ID Generator
      • Datashare
      • Keycloak
      • Persistence
        • Postgres DB
        • Object Store
      • Packet Manager
        • Registration Packet Structure
      • Quality Manager
        • Automation
          • API Test Rig Automation
          • DSL Test Rig Automation
          • UI Test Rig Automation
          • Automation Testing
        • Manual
    • Supporting Services
      • Mock Services
      • Key Manager
        • Keys
        • Hadware Security Module (HSM)
        • Key Manager Developers Guide
      • Module Configurations
      • WebSub
        • WebSub Developers Guide
  • Setup
    • Deployment
      • Getting Started
        • Helm Charts
        • Versioning
        • Wireguard
          • Wireguard Bastion Host
          • Wireguard Administrator's Guide
          • Wireguard Client Installation Guide
        • Production
          • Server Hardware Requirements
          • Production Hardening Guide
          • Administration Using Rancher
      • V3 installation
        • On-Prem Installation Guidelines
        • On-Prem without DNS Installation Guidelines
        • AWS Installation Guidelines
        • Testrig
        • MOSIP External Dependencies
        • MOSIP Modules Deployment
    • Implementations
      • Implementations
      • Reference Implementations
    • Upgrade
      • Adopting LTS 1.2.0
        • Upgrade Runbook
          • Deployment Architecture Upgrade
          • Platform Upgrade
          • Additional Information
            • Handling Duplicate Entries
            • Adapting Changes in Administration Roles
            • Identifying Applicant Type
            • Changes in Camel Route
            • Changes in Role Management based on Client IDs
            • Handling Case Insensitive Duplicated User Details
            • Managing Unequal Certificates
            • Update Identity Mapping file in Configuration
            • New Datashare Properties
            • Handling Non-Recoverable Packets
            • Partners' Certificate Expired
            • Handling Partner Organization Name Mismatch Issue
            • Pre-Registration UI Upgrade
            • Registration Client Upgrade
            • Guide to Reprocess Packets Manually
        • Documentation for 1.1.5
      • Java 21 Migration Guide
  • Interoperability
    • Integrations
      • MOSIP - CRVS
        • Scope
        • Approach
          • Technical Details
        • Existing Integrations
          • OpenCRVS
      • MOSIP e-Manas
      • Digital Signature
      • MOSIP Token Seeder
        • MTS Versions
          • Version 1.0.0
          • Version 1.0.1
          • Version 1.1.0 (WIP)
        • MTS Developer Guides
          • Developer Guide 1.0
          • Developer Guide 1.1
        • MTS Connector
        • OpenG2P-registry MTS Connector
      • MOSIP eSignet
        • ID Authentication
        • Partner Management
        • Configuring eSignet
      • Print Service Integration
        • Verified Credentials
  • Community
    • Contributions
    • Code Contributions
      • Code of Conduct
      • MOSIP Release Process
        • Go/No Go Release Checklist
      • MOSIP Branching Strategy
    • Community Calendars
    • Documentation Credits
  • Roadmap and Releases
    • Roadmap
      • Roadmap 2025
      • Roadmap 2024
      • Roadmap 2023
    • Releases
      • PMS Revamp Release 1.2.2.1 (Patch)
      • v1.2.1.0 - Registration Processor
        • Test Report
      • Android Registration Client v0.11.0
        • Test Report
      • API Test Commons Releases
        • v1.3.2
        • v1.3.1
        • v1.3.0
      • 1.2.1.0-beta.1 (Part 3)
        • Test Report
      • Partner Management System 1.2.2.0
        • Test Report
      • Resident Services v0.9.1
        • Test Report
      • 1.2.0.2 - Reg Processor & ID Repo
        • Test Report
      • 1.2.1.0-beta.1 (Part 2)
        • Enhancements and Bug Fixes
        • Test Report
      • 1.2.1.0-beta.1(Part 1)
      • Android Registration Client 0.11.0-beta.1
        • Test Report
      • Partner Management System 1.3.0-dp.1
        • Test Report
      • 1.2.2.0 (Mosip - Config)
      • Api Test Commons Releases
      • Android Registration Client v0.10.0
        • Test Report
      • Resident Services 0.9.0
        • Test Report
      • 1.2.1.0 (ID Authentication)
        • Functional Test Report
      • 1.2.0.2
        • Test Report
      • 1.2.0.1
        • Enhancements and Bug Fixes
        • Test Report
      • Android Registration Client 0.9.0
        • Test Report
      • 1.2.0.1-B4 (Beta)
        • Test Report
      • Android Registration Client DP1
      • Resident Services DP1
      • 1.2.0.1-B3 (Beta)
        • Test Report
      • 1.2.0.1-B2 (Beta)
      • 1.2.0.1-B1 (Beta)
        • Functional Test Report
        • Sonar Report
      • 1.2.0
        • Enhancements
        • Functional Test Report
        • Sonar Scan Report
        • Performance Test Report
        • Security Test Report
        • Feature Health Report
  • General
    • Glossary
    • Resources
    • MOSIP Support Policy
    • Collab Environment Guides
      • Use Cases
        • Loan Application
      • Generating Demo Credentials
    • MOSIP Documentation Style Guide
Powered by GitBook

Copyright © 2021 MOSIP. This work is licensed under a Creative Commons Attribution (CC-BY-4.0) International License unless otherwise noted.

On this page
  • How to define and publish UI specifications?
  • Changes in UI Specifications
  • UI Specifications of 1.1.5 and 1.2.0
  • 1.1.5
  • 1.2.0

Was this helpful?

Edit on GitHub
Export as PDF
  1. Setup
  2. Upgrade
  3. Adopting LTS 1.2.0
  4. Upgrade Runbook
  5. Additional Information

Pre-Registration UI Upgrade

The Pre-Registration UI-spec file pre-registration-demographic.json was previously included in the mosip-config repository in version 1.1.5.*, but starting from version 1.2.0, it should be manually published using the master data UI-spec API.

How to define and publish UI specifications?

  1. Go to Swagger clientIdSecretKey to get the Authentication token:

    {env_url}/v1/authmanager/swagger-ui/index.html?configUrl=/v1/authmanager/v3/api-docs/swagger-config#/authmanager/clientIdSecretKey
    
    "request": {
      "clientId": "mosip-reg-client",
      "secretKey": {secret_key},
      "appId": "admin"
    } 
  2. Go to Swagger defineUISpec to define the new UI Specifications

{env_url}/v1/masterdata/swagger-ui/index.html?configUrl=/v1/masterdata/v3/api-docs/swagger-config#/ui-spec-controller/defineUISpec"

request": {
    "identitySchemaId": {id of latest identity schema},
    "domain": "pre-registration",
    "type": "schema",
    "title": "Pre-registration UI Specification",
    "description": "Pre-registration UI Specification",
    "jsonspec": {Add New UI Spec}
 }
  1. Go to publishUISpec to Publish the newly defined UI Spec

  {env_url}/v1/masterdata/swagger-ui/index.html?configUrl=/v1/masterdata/v3/api-docs/swagger-config#/ui-spec-controller/publishUISpec

  get the id from the defineUISpec response and add it in request

  "request": {
      "id": "{}",
    "effectiveFrom": "2022-07-28T08:42:07.706Z"
    }  
  1. Once done, check the master.ui_spec table.

Changes in UI Specifications

The following new attributes have been added:

  • subType (optional - for dynamic dropdowns)

  • transliteration (mandatory to enable transliteration)

  • locationHierarchyLevel (mandatory to be added in each location dropdown to indicate the location hierarchy level)

  • parentLocCode (mandatory to be added in the topmost dropdown in the location hierarchy to indicate the parent for it. It can also be omitted, in which case the mosip.country.code property will be used)

  • gender Attribute should be mandatory, and the parameter required should be true

  • The control type for the date of birth should be changed to ageDate

  • The labelName should be provided with the "languageCode" as the "key" and the label as the "value". Example: {"labelName": { "eng": "Date Of Birth", "ara": "تاريخ الولادة", "fra": "Date de naissance" }}

  • visibleCondition (optional)

  • requiredCondition (optional)

  • alignmentGroup (optional)

  • containerStyle (optional)

  • headerStyle (optional)

  • changeAction (optional)

UI Specifications of 1.1.5 and 1.2.0

1.1.5

{

              "identity": [{

                                           "id": "IDSchemaVersion",

                                           "description": "ID Schema Version",

                                           "type": "number",

                                           "controlType": null,

                                           "fieldType": "default",

                                           "inputRequired": false,

                                           "validators": [],

                                           "required": true

                             },

                             {

                                           "id": "fullName",

                                           "description": "Enter Full Name",

                                           "labelName": {

                                                          "eng": "Full Name",

                                                          "ara": "الاسم الكامل",

                                                          "fra": "Nom complet"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "dateOfBirth",

                                           "description": "Enter DOB",

                                           "labelName": {

                                                          "eng": "Date Of Birth",

                                                          "ara": "تاريخ الولادة",

                                                          "fra": "Date de naissance"

                                           },

                                           "controlType": "date",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [],

                                           "required": true

                             },

                             {

                                           "id": "gender",

                                           "description": "Enter Gender",

                                           "labelName": {

                                                          "eng": "Gender",

                                                          "ara": "جنس",

                                                          "fra": "Le genre"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "dynamic",

                                           "type": "simpleType",

                                           "validators": [

 

                                           ],

                                           "required": true

                             },

                             {

                                           "id": "residenceStatus",

                                           "description": "Residence status",

                                           "labelName": {

                                                          "eng": "Residence Status",

                                                          "ara": "حالة الإقامة",

                                                          "fra": "Statut de résidence"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "dynamic",

                                           "type": "simpleType",

                                           "validators": [

 

                                           ],

                                           "required": true

                             },

                             {

                                           "id": "addressLine1",

                                           "description": "addressLine1",

                                           "labelName": {

                                                          "eng": "Address Line1",

                                                          "ara": "العنوان السطر 1",

                                                          "fra": "Adresse 1"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "addressLine2",

                                           "description": "addressLine2",

                                           "labelName": {

                                                          "eng": "Address Line2",

                                                          "ara": "العنوان السطر 2",

                                                          "fra": "Adresse 2"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": false

                             },

                             {

                                           "id": "addressLine3",

                                           "description": "addressLine3",

                                           "labelName": {

                                                          "eng": "Address Line3",

                                                          "ara": "العنوان السطر 3",

                                                          "fra": "Adresse 3"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": false

                             },

                             {

                                           "id": "region",

                                           "description": "region",

                                           "labelName": {

                                                          "eng": "Region",

                                                          "ara": "منطقة",

                                                          "fra": "Région"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "province",

                                           "description": "province",

                                           "labelName": {

                                                          "eng": "Province",

                                                          "ara": "المحافظة",

                                                          "fra": "Province"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "city",

                                           "description": "city",

                                           "labelName": {

                                                          "eng": "City",

                                                          "ara": "مدينة",

                                                          "fra": "Ville"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "zone",

                                           "description": "zone",

                                           "labelName": {

                                                          "eng": "Zone",

                                                          "ara": "منطقة",

                                                          "fra": "Zone"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [

 

                                           ],

                                           "required": true

                             },

                             {

                                           "id": "postalCode",

                                           "description": "postalCode",

                                           "labelName": {

                                                          "eng": "Postal Code",

                                                          "ara": "الكود البريدى",

                                                          "fra": "code postal"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^[(?i)A-Z0-9]{5}$|^NA$",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "phone",

                                           "description": "phone",

                                           "labelName": {

                                                          "eng": "Phone",

                                                          "ara": "هاتف",

                                                          "fra": "Téléphone"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^([6-9]{1})([0-9]{9})$",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "email",

                                           "description": "email",

                                           "labelName": {

                                                          "eng": "Email",

                                                          "ara": "البريد الإلكتروني",

                                                          "fra": "Email"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^[\\w-\\+]+(\\.[\\w]+)*@[\\w-]+(\\.[\\w]+)*(\\.[a-zA-Z]{2,})$",

                                                          "arguments": [

 

                                                          ]

                                           }],

                                           "required": true

                             },

                             {

                                           "id": "proofOfAddress",

                                           "description": "proofOfAddress",

                                           "labelName": [{

                                                          "value": "Address Proof",

                                                          "language": "eng"

                                           }],

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [

 

                                           ],

                                           "required": false

                             },

                             {

                                           "id": "proofOfIdentity",

                                           "description": "proofOfIdentity",

                                           "labelName": [{

                                                          "value": "Identity Proof",

                                                          "language": "eng"
                                           }],

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [

                                           ],

                                           "required": true

                             },

                             {

                                           "id": "proofOfRelationship",

                                           "description": "proofOfRelationship",

                                           "labelName": [{

                                                          "value": "Relationship Proof",

                                                          "language": "eng"
                                           }],

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [

                                           ],

                                           "required": true

                             },

                             {

                                           "id": "proofOfDateOfBirth",

                                           "description": "proofOfDateOfBirth",

                                           "labelName": [{

                                                          "value": "DOB Proof",

                                                          "language": "eng"

                                           }],

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [

                                            ],

                                           "required": true

                             },

                             {

                                           "id": "proofOfException",

                                           "description": "proofOfException",

                                           "labelName": [{

                                                          "value": "Exception Proof",

                                                          "language": "eng"

                                           }],

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [

                                           ],

                                           "required": true
                             }

              ],

              "locationHierarchy": ["region", "province", "city", "zone", "postalCode"]
}

1.2.0

{

              "identity": {

                             "identity": [{

                                           "id": "IDSchemaVersion",

                                           "description": "ID Schema Version",

                                           "type": "number",

                                           "controlType": null,

                                           "fieldType": "default",

                                           "inputRequired": false,

                                           "validators": [],

                                           "required": true

                             }, {

                                           "id": "fullName",

                                           "description": "Enter Full Name",

                                           "labelName": {

                                                          "eng": "Full Name",

                                                          "ara": "الاسم الكامل",

                                                          "fra": "Nom complet"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": []

                                           }],

                                           "required": true,

                                           "transliteration": true

                             }, {

                                           "id": "dateOfBirth",

                                           "description": "Enter DOB",

                                           "labelName": {

                                                          "eng": "Date Of Birth",

                                                          "ara": "تاريخ الولادة",

                                                          "fra": "Date de naissance"

                                           },

                                           "controlType": "ageDate",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [],

                                           "required": true

                             }, {

                                           "id": "gender",

                                           "description": "Enter Gender",

                                           "labelName": {

                                                          "eng": "Gender",

                                                          "ara": "جنس",

                                                          "fra": "Le genre"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "dynamic",

                                           "subType": "gender",

                                           "type": "simpleType",

                                           "validators": [],

                                           "required": true

                             }, {

                                           "id": "residenceStatus",

                                           "description": "Residence status",

                                           "labelName": {

                                                          "eng": "Residence Status",

                                                          "ara": "حالة الإقامة",

                                                          "fra": "Statut de résidence"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "dynamic",

                                           "subType": "residenceStatus",

                                           "type": "simpleType",

                                           "validators": [],

                                           "required": true

                             }, {

                                           "id": "addressLine1",

                                           "description": "addressLine1",

                                           "labelName": {

                                                          "eng": "Address Line1",

                                                          "ara": "العنوان السطر 1",

                                                          "fra": "Adresse 1"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": []

                                           }],

                                           "required": true,

                                           "transliteration": true

                             }, {

                                           "id": "addressLine2",

                                           "description": "addressLine2",

                                           "labelName": {

                                                          "eng": "Address Line2",

                                                          "ara": "العنوان السطر 2",

                                                          "fra": "Adresse 2"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": []

                                           }],

                                           "required": false,

                                           "transliteration": true

                             }, {

                                           "id": "addressLine3",

                                           "description": "addressLine3",

                                           "labelName": {

                                                          "eng": "Address Line3",

                                                          "ara": "العنوان السطر 3",

                                                          "fra": "Adresse 3"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": []

                                           }],

                                           "required": false,

                                           "transliteration": true

                             }, {

                                           "id": "region",

                                           "description": "region",

                                           "labelName": {

                                                          "eng": "Region",

                                                          "ara": "منطقة",

                                                          "fra": "Région"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": []

                                           }],

                                           "parentLocCode": "MOR",

                                           "locationHierarchyLevel": 1,

                                           "required": true

                             }, {

                                           "id": "province",

                                           "description": "province",

                                           "labelName": {

                                                          "eng": "Province",

                                                          "ara": "المحافظة",

                                                          "fra": "Province"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": []

                                           }],

                                           "locationHierarchyLevel": 2,

                                           "required": true

                             }, {

                                           "id": "city",

                                           "description": "city",

                                           "labelName": {

                                                          "eng": "City",

                                                          "ara": "مدينة",

                                                          "fra": "Ville"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^(?=.{0,50}$).*",

                                                          "arguments": []

                                           }],

                                           "locationHierarchyLevel": 3,

                                           "required": true

                             }, {

                                           "id": "zone",

                                           "description": "zone",

                                           "labelName": {

                                                          "eng": "Zone",

                                                          "ara": "منطقة",

                                                          "fra": "Zone"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "simpleType",

                                           "validators": [],

                                           "locationHierarchyLevel": 4,

                                           "required": true

                             }, {

                                           "id": "postalCode",

                                           "description": "postalCode",

                                           "labelName": {

                                                          "eng": "Postal Code",

                                                          "ara": "الكود البريدى",

                                                          "fra": "code postal"

                                           },

                                           "controlType": "dropdown",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^[(?i)A-Z0-9]{5}$|^NA$",

                                                          "arguments": []

                                           }],

                                           "locationHierarchyLevel": 5,

                                           "required": true

                             }, {

                                           "id": "phone",

                                           "description": "phone",

                                           "labelName": {

                                                          "eng": "Phone",

                                                          "ara": "هاتف",

                                                          "fra": "Téléphone"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^([6-9]{1})([0-9]{9})$",

                                                          "arguments": []

                                           }],

                                           "required": true

                             }, {

                                           "id": "email",

                                           "description": "email",

                                           "labelName": {

                                                          "eng": "Email",

                                                          "ara": "البريد الإلكتروني",

                                                          "fra": "Email"

                                           },

                                           "controlType": "textbox",

                                           "inputRequired": true,

                                           "fieldType": "default",

                                           "type": "string",

                                           "validators": [{

                                                          "type": "regex",

                                                          "validator": "^[\\w-\\+]+(\\.[\\w]+)*@[\\w-]+(\\.[\\w]+)*(\\.[a-zA-Z]{2,})$",

                                                          "arguments": []

                                           }],

                                           "required": true

                             }, {

                                           "id": "proofOfAddress",

                                           "description": "proofOfAddress",

                                           "labelName": {

                                                          "ara": "إثبات العنوان",

                                                          "fra": "Address Proof",

                                                          "eng": "Address Proof"

                                           },

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [],

                                           "subType": "POA",

                                           "required": false

                             }, {

                                           "id": "proofOfIdentity",

                                           "description": "proofOfIdentity",

                                           "labelName": {

                                                          "ara": "إثبات الهوية",

                                                          "fra": "Identity Proof",

                                                          "eng": "Identity Proof"

                                           },

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [],

                                           "subType": "POI",

                                           "required": true

                             }, {

                                           "id": "proofOfRelationship",

                                           "description": "proofOfRelationship",

                                           "labelName": {

                                                          "ara": "إثبات العلاقة",

                                                          "fra": "Relationship Proof",

                                                          "eng": "Relationship Proof"

                                           },

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [],

                                           "subType": "POR",

                                           "required": true

                             }, {

                                           "id": "proofOfDateOfBirth",

                                           "description": "proofOfDateOfBirth",

                                           "labelName": {

                                                          "ara": "دليل DOB",

                                                          "fra": "DOB Proof",

                                                          "eng": "DOB Proof"

                                           },

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [],

                                           "subType": "POB",

                                           "required": true

                             }, {

                                           "id": "proofOfException",

                                           "description": "proofOfException",

                                           "labelName": {

                                                          "ara": "إثبات الاستثناء",

                                                          "fra": "Exception Proof",

                                                          "eng": "Exception Proof"

                                           },

                                           "controlType": "fileupload",

                                           "inputRequired": true,

                                           "validators": [],

                                           "subType": "POE",

                                           "required": true

                             }],

                             "locationHierarchy": ["region", "province", "city", "zone", "postalCode"]

              }

}

Last updated 1 year ago

Was this helpful?

The document provides details about all UI spec attributes. This document can be referred to in order to identify the changes between versions 1.1.5 and 1.2.0.1.

Pre-registration UI Specifications