The purpose of this script is to validate if specific fields/boxes in a pdf contain specific information.
For example in GSA300, Field 3. Contract number contains 47PM1118D1133,
The user should then be able to run the script on the inputs of File: GSA300, Field: 3. Contract number, value: 47PM1118D1133. The script should then output that the field does contain this value.
There should also be a section of the code, where the user enter the input values as variables, instead of having to input it in the command line. This section should be able to be commented out, incase user does not want to use this option. For ex. It would have variables X = File: GSA300, Y = Field: 3. Contract number, Z = value: 47PM1118D1133. then output that the field does contain this value, same as above.
Also would like a print out of pdf in xml format.
Please provide comments explaining codebase
See attached pdfs, for use cases of that will use this script.