[{
    "filter": [
        {
            "match": "^\\d{13}.{37}[A-Z]{8}VIA",
            "mimeType": "text/plain",
            "scope": "Descendants"
        }
    ],
    "function": "parseBoardingPass",
    "mimeType": "application/pdf",
    "script": "viarail.js"
},
{
    "filter": [
        {
            "match": "^\\d{13}.{37}[A-Z]{8}VIA",
            "mimeType": "text/plain",
            "scope": "Current"
        }
    ],
    "function": "parseBarcode",
    "mimeType": "text/plain",
    "script": "viarail.js"
}]
