27 lines
564 B
JSON
27 lines
564 B
JSON
|
|
{
|
||
|
|
"id": "format_pdf_text",
|
||
|
|
"category": "format_specific",
|
||
|
|
"description": "Standalone PDF text extraction using extract_bytes_sync",
|
||
|
|
"tags": ["format_specific", "pdf", "text_extraction"],
|
||
|
|
"call": "extract_bytes_sync",
|
||
|
|
"input": {
|
||
|
|
"data": "pdf/fake_memo.pdf",
|
||
|
|
"mime_type": "application/pdf"
|
||
|
|
},
|
||
|
|
"assertions": [
|
||
|
|
{
|
||
|
|
"type": "not_error"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "min_length",
|
||
|
|
"field": "content",
|
||
|
|
"value": 50
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"type": "contains_any",
|
||
|
|
"field": "content",
|
||
|
|
"values": ["Mallori", "May"]
|
||
|
|
}
|
||
|
|
]
|
||
|
|
}
|