Skip to content

Commit 97f0bd6

Browse files
Add additional aws-managed and custom blueprints
- Add aws-managed birth certificate, 1040,1099-int blueprints - Add custom-employment-termination-letter.json - Add custom-employment-verification-letter.json - Add custom-i-766-work-authorization.json - Add custom-i20-student-visa.json - Add custom-i94-arrival-and-departure.json - Add custom-ira-account-document.json - Add custom-prof-of-lost-health-coverage.json - Add custom-tax-reporting-statement.json - Add custom-unemployment-insurance-claim.json
1 parent 907bb41 commit 97f0bd6

10 files changed

+514
-0
lines changed

infra/app-docai/app-config/env-config/document_data_extraction.tf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,11 @@ locals {
2121
# Identity Documents
2222
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-us-driver-license",
2323
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-us-passport",
24+
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-birth-certificate",
2425

2526
# Tax/Employment Documents
27+
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-form-1040",
28+
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-form-1099-int",
2629
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-form-1099-misc",
2730
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-payslip",
2831
"arn:aws:bedrock:us-east-1:aws:blueprint/bedrock-data-automation-public-w2-form",
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"description": "A formal letter issued by an employer documenting the end of an employee's employment.",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
4+
"type": "object",
5+
"class": "Employment-Termination-Letter",
6+
"definitions": {},
7+
"properties": {
8+
"employee_name": {
9+
"type": "string",
10+
"inferenceType": "explicit",
11+
"instruction": "The full name of the employee whose employment is ending."
12+
},
13+
"employer_name": {
14+
"type": "string",
15+
"inferenceType": "explicit",
16+
"instruction": "The name of the company or organization terminating the employment."
17+
},
18+
"job_title": {
19+
"type": "string",
20+
"inferenceType": "explicit",
21+
"instruction": "The employee's role or position at the time of termination."
22+
},
23+
"employment_start_date": {
24+
"type": "string",
25+
"inferenceType": "explicit",
26+
"instruction": "The date the employee started working at the company."
27+
},
28+
"employment_end_date": {
29+
"type": "string",
30+
"inferenceType": "explicit",
31+
"instruction": "The date the employee's employment ended."
32+
},
33+
"termination_reason": {
34+
"type": "string",
35+
"inferenceType": "explicit",
36+
"instruction": "The reason the employment ended, such as layoff, resignation, or reduction in hours."
37+
},
38+
"issuer_name": {
39+
"type": "string",
40+
"inferenceType": "explicit",
41+
"instruction": "The name of the person who issued or signed the termination letter."
42+
},
43+
"issuer_title": {
44+
"type": "string",
45+
"inferenceType": "explicit",
46+
"instruction": "The job title of the person issuing the termination letter."
47+
},
48+
"letter_date": {
49+
"type": "string",
50+
"inferenceType": "explicit",
51+
"instruction": "The date the termination letter was issued."
52+
}
53+
}
54+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"description": "A letter issued by an employer verifying an individual's employment history and job details.",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
4+
"type": "object",
5+
"class": "Employment-Verification-Letter",
6+
"definitions": {},
7+
"properties": {
8+
"employee_name": {
9+
"type": "string",
10+
"inferenceType": "explicit",
11+
"instruction": "The full name of the employee whose employment is being verified."
12+
},
13+
"employer_name": {
14+
"type": "string",
15+
"inferenceType": "explicit",
16+
"instruction": "The name of the company or organization employing the individual."
17+
},
18+
"job_title": {
19+
"type": "string",
20+
"inferenceType": "explicit",
21+
"instruction": "The job title or position held by the employee."
22+
},
23+
"employment_start_date": {
24+
"type": "string",
25+
"inferenceType": "explicit",
26+
"instruction": "The date the employee began working for the employer."
27+
},
28+
"employment_end_date": {
29+
"type": "string",
30+
"inferenceType": "explicit",
31+
"instruction": "The date the employee stopped working for the employer if applicable."
32+
},
33+
"salary_or_wage": {
34+
"type": "string",
35+
"inferenceType": "explicit",
36+
"instruction": "The employee's salary, hourly wage, or compensation if stated in the letter."
37+
},
38+
"issuer_name": {
39+
"type": "string",
40+
"inferenceType": "explicit",
41+
"instruction": "The name of the person issuing or signing the employment verification letter."
42+
},
43+
"issuer_title": {
44+
"type": "string",
45+
"inferenceType": "explicit",
46+
"instruction": "The job title of the person issuing the letter, such as HR manager or supervisor."
47+
}
48+
}
49+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"description": "A United States Employment Authorization Document issued to non-citizens authorizing them to work in the United States.",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
4+
"type": "object",
5+
"class": "US-Employment-Authorization-Document",
6+
"definitions": {},
7+
"properties": {
8+
"card_number": {
9+
"type": "string",
10+
"inferenceType": "explicit",
11+
"instruction": "The unique card number printed on the Employment Authorization Document. It may be labeled as Card Number or USCIS Number."
12+
},
13+
"uscis_number": {
14+
"type": "string",
15+
"inferenceType": "explicit",
16+
"instruction": "The USCIS number printed on the card. It may appear as USCIS# or USCIS Number."
17+
},
18+
"category": {
19+
"type": "string",
20+
"inferenceType": "explicit",
21+
"instruction": "The employment authorization category printed on the card such as C03B, A12, C09, or other eligibility category."
22+
},
23+
"cardholder_name": {
24+
"type": "string",
25+
"inferenceType": "explicit",
26+
"instruction": "The full name of the individual listed on the Employment Authorization Document."
27+
},
28+
"date_of_birth": {
29+
"type": "string",
30+
"inferenceType": "explicit",
31+
"instruction": "The date of birth of the cardholder."
32+
},
33+
"country_of_birth": {
34+
"type": "string",
35+
"inferenceType": "explicit",
36+
"instruction": "The country where the cardholder was born."
37+
},
38+
"valid_from": {
39+
"type": "string",
40+
"inferenceType": "explicit",
41+
"instruction": "The start date of the employment authorization validity period printed on the card."
42+
},
43+
"card_expires": {
44+
"type": "string",
45+
"inferenceType": "explicit",
46+
"instruction": "The expiration date printed on the Employment Authorization Document."
47+
},
48+
"sex": {
49+
"type": "string",
50+
"inferenceType": "explicit",
51+
"instruction": "The sex or gender listed on the card."
52+
}
53+
}
54+
}
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"description": "Form I-20 Certificate of Eligibility for Nonimmigrant Student Status issued to F-1 or M-1 students.",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
4+
"type": "object",
5+
"class": "I-20-Student-Eligibility-Form",
6+
"definitions": {},
7+
"properties": {
8+
"sevis_id": {
9+
"type": "string",
10+
"inferenceType": "explicit",
11+
"instruction": "The SEVIS identification number assigned to the student, typically beginning with the letter N followed by numbers."
12+
},
13+
"student_name": {
14+
"type": "string",
15+
"inferenceType": "explicit",
16+
"instruction": "The full legal name of the student listed on the I-20 form."
17+
},
18+
"date_of_birth": {
19+
"type": "string",
20+
"inferenceType": "explicit",
21+
"instruction": "The student's date of birth as listed on the form."
22+
},
23+
"country_of_birth": {
24+
"type": "string",
25+
"inferenceType": "explicit",
26+
"instruction": "The country where the student was born."
27+
},
28+
"country_of_citizenship": {
29+
"type": "string",
30+
"inferenceType": "explicit",
31+
"instruction": "The country of citizenship listed for the student."
32+
},
33+
"school_name": {
34+
"type": "string",
35+
"inferenceType": "explicit",
36+
"instruction": "The name of the school issuing the I-20 form."
37+
},
38+
"school_code": {
39+
"type": "string",
40+
"inferenceType": "explicit",
41+
"instruction": "The SEVIS school code associated with the institution."
42+
},
43+
"program_of_study": {
44+
"type": "string",
45+
"inferenceType": "explicit",
46+
"instruction": "The student's major or field of study."
47+
},
48+
"education_level": {
49+
"type": "string",
50+
"inferenceType": "explicit",
51+
"instruction": "The academic level of the program such as bachelor's, master's, doctorate, or language training."
52+
},
53+
"program_start_date": {
54+
"type": "string",
55+
"inferenceType": "explicit",
56+
"instruction": "The start date of the academic program listed on the form."
57+
},
58+
"program_end_date": {
59+
"type": "string",
60+
"inferenceType": "explicit",
61+
"instruction": "The expected completion date of the academic program."
62+
},
63+
"dso_name": {
64+
"type": "string",
65+
"inferenceType": "explicit",
66+
"instruction": "The name of the Designated School Official who issued or signed the form."
67+
},
68+
"issue_date": {
69+
"type": "string",
70+
"inferenceType": "explicit",
71+
"instruction": "The date the I-20 form was issued or signed."
72+
}
73+
}
74+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"description": "Form I-94 Arrival and Departure Record issued to foreign travelers entering the United States.",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
4+
"type": "object",
5+
"class": "I-94-Arrival-Departure-Record",
6+
"definitions": {},
7+
"properties": {
8+
"i94_admission_number": {
9+
"type": "string",
10+
"inferenceType": "explicit",
11+
"instruction": "The unique admission number assigned to the traveler on the I-94 record. It may be labeled as Admission Number or I-94 Number."
12+
},
13+
"traveler_name": {
14+
"type": "string",
15+
"inferenceType": "explicit",
16+
"instruction": "The full legal name of the traveler as shown on the I-94 record."
17+
},
18+
"passport_number": {
19+
"type": "string",
20+
"inferenceType": "explicit",
21+
"instruction": "The passport number associated with the traveler's entry to the United States."
22+
},
23+
"country_of_citizenship": {
24+
"type": "string",
25+
"inferenceType": "explicit",
26+
"instruction": "The country of citizenship listed for the traveler."
27+
},
28+
"date_of_birth": {
29+
"type": "string",
30+
"inferenceType": "explicit",
31+
"instruction": "The date of birth of the traveler."
32+
},
33+
"date_of_entry": {
34+
"type": "string",
35+
"inferenceType": "explicit",
36+
"instruction": "The date the traveler entered the United States, sometimes labeled as Date of Entry or Admit Date."
37+
},
38+
"class_of_admission": {
39+
"type": "string",
40+
"inferenceType": "explicit",
41+
"instruction": "The immigration class of admission granted to the traveler, such as F-1, H-1B, B-1, B-2, J-1, or other visa category."
42+
},
43+
"admit_until_date": {
44+
"type": "string",
45+
"inferenceType": "explicit",
46+
"instruction": "The date until which the traveler is authorized to remain in the United States."
47+
},
48+
"port_of_entry": {
49+
"type": "string",
50+
"inferenceType": "explicit",
51+
"instruction": "The U.S. port of entry where the traveler was admitted into the country."
52+
}
53+
}
54+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
{
2+
"description": "A document related to an Individual Retirement Account (IRA), including account details, contributions, and distributions.",
3+
"$schema": "http://json-schema.org/draft-07/schema#",
4+
"type": "object",
5+
"class": "IRA-Account-Document",
6+
"definitions": {},
7+
"properties": {
8+
"account_holder_name": {
9+
"type": "string",
10+
"inferenceType": "explicit",
11+
"instruction": "The full name of the individual who owns the IRA account."
12+
},
13+
"account_number": {
14+
"type": "string",
15+
"inferenceType": "explicit",
16+
"instruction": "The unique number assigned to the IRA account by the financial institution."
17+
},
18+
"financial_institution": {
19+
"type": "string",
20+
"inferenceType": "explicit",
21+
"instruction": "The name of the bank, broker, or financial institution that manages the IRA."
22+
},
23+
"account_type": {
24+
"type": "string",
25+
"inferenceType": "explicit",
26+
"instruction": "The type of IRA, such as Traditional IRA, Roth IRA, SEP IRA, or SIMPLE IRA."
27+
},
28+
"contribution_dates": {
29+
"type": "string",
30+
"inferenceType": "explicit",
31+
"instruction": "The dates on which contributions were made to the IRA."
32+
},
33+
"distribution_dates": {
34+
"type": "string",
35+
"inferenceType": "explicit",
36+
"instruction": "The dates on which distributions or withdrawals were made from the IRA, if any."
37+
},
38+
"account_balance": {
39+
"type": "string",
40+
"inferenceType": "explicit",
41+
"instruction": "The account balance as reported on the document."
42+
},
43+
"tax_year": {
44+
"type": "string",
45+
"inferenceType": "explicit",
46+
"instruction": "The tax year the document applies to, often printed on statements or Form 5498."
47+
}
48+
}
49+
}

0 commit comments

Comments
 (0)