[{
    "filter": [
        {
            "field": "passTypeIdentifier",
            "match": "pass.com.motel-one.booking",
            "mimeType": "application/vnd.apple.pkpass",
            "scope": "Current"
        }
    ],
    "function": "extractPkPass",
    "mimeType": "application/vnd.apple.pkpass",
    "script": "motel-one.js"
},{
    "filter": [
        {
            "field": "From",
            "match": "noreply@motel-one.com",
            "mimeType": "message/rfc822",
            "scope": "Ancestors"
        }
    ],
    "function": "extractConfirmation",
    "mimeType": "text/plain",
    "script": "motel-one.js"
}]
