-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs_data_initialize.py
93 lines (91 loc) · 3.63 KB
/
docs_data_initialize.py
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# This function is used to create an object that is used to populate the docs data
def docs_data_create():
docs_data = {
"doc_set_description": "Zoom Jet Pack Lease Documents",
"docs_list": [
{
"ref_id": "ZoomJetPackLease",
"desc": "Zoom Jet Pack Lease",
"file_name": "ZoomJetPackLease.pdf",
"mime_type": "application/pdf",
"doc_source_type": "dynamic",
"doc_source_location": "zoom-lease-agreement.html",
"tagging_type": "text_tagging",
"tagging_data": [
{
"tag_name": "LesseeDate",
"field_type": "date_signed",
"is_required": "yes",
"anchor_text": "Date:",
"bounding_box": {
"x_offset": 30,
"y_offset": 0,
"width": 90,
"height": 12
}
},
{
"tag_name": "LessorDate",
"field_type": "date_signed",
"is_required": "yes",
"anchor_text": "As",
"bounding_box": {
"x_offset": 30,
"y_offset": 0,
"width": 90,
"height": 12
}
},
{
"tag_name": "Lessor",
"field_type": "signature",
"is_required": "yes",
"anchor_text": "LESSOR:",
"bounding_box": {
"x_offset": 150,
"y_offset": 6,
"width": 120,
"height": 24
},
"member_info_number": 1,
"date_signed_field_name": "LessorDate",
"date_signed_format": "MM/dd/yy"
},
{
"tag_name": "Lessee",
"field_type": "signature",
"is_required": "yes",
"anchor_text": "LESSEE:",
"bounding_box": {
"x_offset": 45,
"y_offset": 6,
"width": 120,
"height": 24
},
"member_info_number": 2,
"date_signed_field_name": "LesseeDate",
"date_signed_format": "MM/dd/yy"
}
]
},
{
"ref_id": "ZoomJetPackSafetyAdvisory",
"desc": "Zoom Jet Pack Safety Advisory",
"file_name": "ZoomJetPackSafetyAdvisory.pdf",
"mime_type": "application/pdf",
"doc_source_type": "static",
"doc_source_location": "zoom-safety-advisory.pdf",
"tagging_type": "pdf_fields",
"tagging_data": [
{
"tag_name": "SignatureField",
"field_type": "signature",
"member_info_number": 2,
"date_signed_field_name": "DateField",
"date_signed_format": "MM/dd/yy"
}
]
}
]
}
return docs_data