Schema Collection

Sample schemas

   "SchemaDefinition": {
        "id": "252ec49e-0822-43b3-ba18-b222a7471aba",
        "tenantId": "pg",
        "code": "ACCESSCONTROL-ROLEACTIONS.roleactions",
        "description": "roleactions",
        "definition": {
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "isActive": true,
            "required": [
                "rolecode",
                "actionid"
            ],
            "x-unique": [
                "rolecode",
                "actionid"
            ],
            "properties": {
                "actionid": {
                    "type": "string"
                },
                "rolecode": {
                    "type": "string"
                },
                "tenantId": {
                    "type": "string"
                },
                "actioncode": {
                    "type": "string"
                }
            },
            "x-ref-schema": [
                {
                    "fieldPath": "rolecode",
                    "schemaCode": "ACCESSCONTROL-ROLES.rolesroles"
                },
                {
                    "fieldPath": "actionid",
                    "schemaCode": "ACCESSCONTROL-ACTIONS-TEST.actions-test"
                }
            ]
        },
        "isActive": true,
        "auditDetails": {
            "createdBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "lastModifiedBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "createdTime": 1695189499319,
            "lastModifiedTime": 1695189499319
        }
    }
"SchemaDefinition": {
        "id": "16979b3a-ad17-4bee-ab87-bd92b42e7e4d",
        "tenantId": "pg",
        "code": "ACCESSCONTROL-ACTIONS-TEST.actions-test",
        "description": "actions test",
        "definition": {
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "isActive": true,
            "required": [
                "id",
                "name"
            ],
            "x-unique": [
                "id"
            ],
            "properties": {
                "id": {
                    "type": "integer"
                },
                "url": {
                    "type": "string"
                },
                "code": {
                    "type": [
                        "string",
                        "null"
                    ]
                },
                "name": {
                    "type": "string"
                },
                "path": {
                    "type": "string"
                },
                "enabled": {
                    "type": "boolean"
                },
                "displayName": {
                    "type": "string"
                },
                "orderNumber": {
                    "type": "integer"
                },
                "serviceCode": {
                    "type": "string"
                },
                "parentModule": {
                    "type": "string"
                }
            },
            "x-ui-schema": {
                "ui:order": [
                    "id",
                    "name",
                    "*"
                ]
            },
            "auditDetails": {
                "createdBy": "902fcdad-8742-4e13-b9f0-12605a6180bb",
                "createdTime": 1692703758627,
                "lastModifiedBy": "902fcdad-8742-4e13-b9f0-12605a6180bb",
                "lastModifiedTime": 1692703758627
            }
        },
        "isActive": true,
        "auditDetails": {
            "createdBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "lastModifiedBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "createdTime": 1695034443954,
            "lastModifiedTime": 1695034443954
        }
    }
```
   "SchemaDefinition": {
        "id": "1abaf5be-04a6-4003-9b83-2562339373fd",
        "tenantId": "pg",
        "code": "tenant.tenants",
        "description": "HCM tenant",
        "definition": {
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "isActive": true,
            "required": [
                "code",
                "name"
            ],
            "x-unique": [
                "code"
            ],
            "properties": {
                "city": {
                    "type": "object",
                    "properties": {
                        "code": {
                            "type": "string"
                        },
                        "name": {
                            "type": "string"
                        },
                        "captcha": {
                            "type": "string",
                            "nullable": true
                        },
                        "ddrName": {
                            "type": "string"
                        },
                        "latitude": {
                            "type": "number"
                        },
                        "ulbGrade": {
                            "type": "string"
                        },
                        "localName": {
                            "type": "string"
                        },
                        "longitude": {
                            "type": "number"
                        },
                        "regionName": {
                            "type": "string"
                        },
                        "districtCode": {
                            "type": "string"
                        },
                        "districtName": {
                            "type": "string"
                        },
                        "shapeFileLocation": {
                            "type": "string",
                            "nullable": true
                        },
                        "districtTenantCode": {
                            "type": "string"
                        }
                    }
                },
                "code": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "type": {
                    "type": "string"
                },
                "logoId": {
                    "type": "string"
                },
                "address": {
                    "type": "string"
                },
                "emailId": {
                    "type": "string",
                    "format": "email"
                },
                "imageId": {
                    "type": "string"
                },
                "domainUrl": {
                    "type": "string"
                },
                "twitterUrl": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                },
                "facebookUrl": {
                    "type": "string"
                },
                "OfficeTimings": {
                    "type": "object",
                    "properties": {
                        "Mon - Fri": {
                            "type": "string"
                        }
                    }
                },
                "contactNumber": {
                    "type": "string"
                }
            },
            "x-ui-schema": {
                "ui:order": [
                    "code",
                    "name",
                    "*"
                ]
            },
            "auditDetails": {
                "createdBy": "902fcdad-8742-4e13-b9f0-12605a6180bb",
                "createdTime": 1692703758627,
                "lastModifiedBy": "902fcdad-8742-4e13-b9f0-12605a6180bb",
                "lastModifiedTime": 1692703758627
            }
        },
        "isActive": true,
        "auditDetails": {
            "createdBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "lastModifiedBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "createdTime": 1694609047481,
            "lastModifiedTime": 1694609047481
        }
    }
```
  "SchemaDefinition": {
        "id": "9f45749c-e0a2-4cc7-850d-4f3847877bbb",
        "tenantId": "pg",
        "code": "ACCESSCONTROL-ROLES.rolesroles",
        "description": "roles",
        "definition": {
            "type": "object",
            "title": "Generated schema for Root",
            "$schema": "http://json-schema.org/draft-07/schema#",
            "isActive": true,
            "required": [
                "code",
                "name"
            ],
            "x-unique": [
                "code"
            ],
            "properties": {
                "code": {
                    "type": "string"
                },
                "name": {
                    "type": "string"
                },
                "description": {
                    "type": "string"
                }
            },
            "x-ui-schema": {
                "ui:order": [
                    "code",
                    "name",
                    "*"
                ]
            },
            "auditDetails": {
                "createdBy": "902fcdad-8742-4e13-b9f0-12605a6180bb",
                "createdTime": 1692703758627,
                "lastModifiedBy": "902fcdad-8742-4e13-b9f0-12605a6180bb",
                "lastModifiedTime": 1692703758627
            }
        },
        "isActive": true,
        "auditDetails": {
            "createdBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "lastModifiedBy": "21c3a3b1-1000-48bf-a820-a7aca37da8d9",
            "createdTime": 1695186550125,
            "lastModifiedTime": 1695186550125
        }
    }
```

Last updated

All content on this page by eGov Foundation is licensed under a Creative Commons Attribution 4.0 International License.