Gangadhar123 commited on
Commit
16030a0
Β·
verified Β·
1 Parent(s): b94fb52

Update fields_config.json

Browse files
Files changed (1) hide show
  1. fields_config.json +50 -50
fields_config.json CHANGED
@@ -1,50 +1,50 @@
1
- {
2
- "policy_number": {
3
- "label": "Policy Number",
4
- "pattern": "Policy Number[:\\s]*([A-Z0-9\\-]+)"
5
- },
6
- "claimant_name": {
7
- "label": "Claimant Name",
8
- "pattern": "Claimant Name[:\\s]*([A-Za-z\\s]+)"
9
- },
10
- "dob": {
11
- "label": "Date of Birth",
12
- "pattern": "Date of Birth[:\\s]*([\\d/\\.-]+)"
13
- },
14
- "date_of_incident": {
15
- "label": "Date of Incident",
16
- "pattern": "Date of Incident[:\\s]*([\\d/\\.-]+)"
17
- },
18
- "claim_type": {
19
- "label": "Claim Type",
20
- "pattern": "Claim Type[:\\s]*([A-Za-z\\s]+)"
21
- },
22
- "vehicle_registration_no": {
23
- "label": "Vehicle Registration No",
24
- "pattern": "Vehicle Registration No[:\\s]*([A-Z0-9\\-]+)"
25
- },
26
- "claim_amount": {
27
- "label": "Claim Amount",
28
- "pattern": "Claim Amount[:\\s]*([\\d,.]+)"
29
- },
30
- "contact_number": {
31
- "label": "Contact Number",
32
- "pattern": "Contact Number[:\\s]*([\\d\\-\\+\\s]+)"
33
- },
34
- "email": {
35
- "label": "Email",
36
- "pattern": "Email[:\\s]*([\\w\\.-]+@[\\w\\.-]+)"
37
- },
38
- "incident_description": {
39
- "label": "Incident Description",
40
- "pattern": "Incident Description[:\\s]*([\\s\\S]+?)\\n\\n" // grabs multiline until blank line
41
- },
42
- "documents_submitted": {
43
- "label": "Documents Submitted",
44
- "pattern": "Documents Submitted[:\\s]*([\\w,\\s]+)"
45
- },
46
- "bank_details": {
47
- "label": "Bank Details",
48
- "pattern": "Bank Details[:\\s]*([\\w\\s\\d\\-]+)"
49
- }
50
- }
 
1
+ {
2
+ "policy_number": {
3
+ "label": "Policy Number",
4
+ "pattern": "Policy Number[:\\s]*([A-Z0-9\\-]+)"
5
+ },
6
+ "claimant_name": {
7
+ "label": "Claimant Name",
8
+ "pattern": "Claimant Name[:\\s]*([A-Za-z\\s]+)"
9
+ },
10
+ "dob": {
11
+ "label": "Date of Birth",
12
+ "pattern": "Date of Birth[:\\s]*([\\d/\\.-]+)"
13
+ },
14
+ "date_of_incident": {
15
+ "label": "Date of Incident",
16
+ "pattern": "Date of Incident[:\\s]*([\\d/\\.-]+)"
17
+ },
18
+ "claim_type": {
19
+ "label": "Claim Type",
20
+ "pattern": "Claim Type[:\\s]*([A-Za-z\\s]+)"
21
+ },
22
+ "vehicle_registration_no": {
23
+ "label": "Vehicle Registration No",
24
+ "pattern": "Vehicle Registration No[:\\s]*([A-Z0-9\\-]+)"
25
+ },
26
+ "claim_amount": {
27
+ "label": "Claim Amount",
28
+ "pattern": "Claim Amount[:\\s]*([\\d,.]+)"
29
+ },
30
+ "contact_number": {
31
+ "label": "Contact Number",
32
+ "pattern": "Contact Number[:\\s]*([\\d\\-\\+\\s]+)"
33
+ },
34
+ "email": {
35
+ "label": "Email",
36
+ "pattern": "Email[:\\s]*([\\w\\.-]+@[\\w\\.-]+)"
37
+ },
38
+ "incident_description": {
39
+ "label": "Incident Description",
40
+ "pattern": "Incident Description[:\\s]*([\\s\\S]+?)\\n\\n"
41
+ },
42
+ "documents_submitted": {
43
+ "label": "Documents Submitted",
44
+ "pattern": "Documents Submitted[:\\s]*([\\w,\\s]+)"
45
+ },
46
+ "bank_details": {
47
+ "label": "Bank Details",
48
+ "pattern": "Bank Details[:\\s]*([\\w\\s\\d\\-]+)"
49
+ }
50
+ }