recipe · 4 fieldsst / sc / obc caste certificate
st / sc / obc caste certificate
extraction api.
Issued by a district or taluka authority certifying the holder's caste category.
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 certificate holder |
| Cast | caste | Text | Caste and its category (ST, SC or OBC) as printed |
| Cast certificate no. | certificate_number | Text | — |
| Certificate issue date | issue_date | Date | — |
the apia st / sc / obc caste certificate in,
a st / sc / obc caste 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_caste/extractions \
-H "Authorization: Bearer $PATRAPI_KEY" \
-F file=@caste-certificate.pdf{ "status": "completed",
"document_type": "caste_certificate",
"fields": {
"name": { "value": …, "status": "present", "page": 1 },
"caste": { "value": …, "status": "present", "page": 1 },
"certificate_number": { "value": …, "status": "present", "page": 1 },
"issue_date": { "value": …, "status": "present", "page": 1 }
} }