recipe · 3 fieldsschool leaving certificate
school leaving certificate
extraction api.
Issued by a school on leaving; often handwritten entries on a printed form, sometimes in Gujarati.
what it reads
the fields.
Rename any of them, drop the ones you don't need, or add the one your form asks for. Each comes back with the text it was read from.
| field | key | type | notes |
|---|---|---|---|
| Name | name | Name | Name of the student |
| Date of birth | date_of_birth | Date | The date in figures, not the date in words |
| Education | education | Text | Last standard or class studied / passed |
the apia school leaving certificate in,
a school leaving certificate in,
json back.
Publish the recipe as a workflow and send it files. Each field returns its value, a clean normalised version, its status, the page and the source text.
curl https://api.patrapi.com/v1/workflows/wf_school/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@school-leaving-certificate.pdf{ "status": "completed",
"document_type": "school_leaving_certificate",
"fields": {
"name": { "value": …, "status": "present", "page": 1 },
"date_of_birth": { "value": …, "status": "present", "page": 1 },
"education": { "value": …, "status": "present", "page": 1 }
} }