-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathAadhaarCredential2.json
50 lines (50 loc) · 1.44 KB
/
AadhaarCredential2.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Aadhaar Identification Schema",
"type": "object",
"properties": {
"aadhaarNumber": {
"type": "string",
"pattern": "^[0-9]{12}$",
"description": "The 12-digit Aadhaar number"
},
"name": {
"type": "string",
"description": "Full name of the Aadhaar holder"
},
"dateOfBirth": {
"type": "string",
"format": "date",
"description": "Date of birth of the Aadhaar holder"
},
"address": {
"type": "object",
"properties": {
"street": {
"type": "string",
"description": "Street address"
},
"city": {
"type": "string",
"description": "City or locality"
},
"state": {
"type": "string",
"description": "State or region"
},
"postalCode": {
"type": "string",
"description": "Postal code or ZIP code"
},
"country": {
"type": "string",
"description": "Country"
}
},
"required": ["street", "city", "state", "postalCode", "country"],
"description": "Address of the Aadhaar holder"
}
},
"required": ["aadhaarNumber", "name", "dateOfBirth", "address"],
"description": "Schema for representing Aadhaar identification details"
}