[{
    "filter": [
        { "field": "From", "match": "info@cd.cz", "mimeType": "message/rfc822", "scope": "Ancestors" },
        { "field": "From", "match": "eshop@cd.cz", "mimeType": "message/rfc822", "scope": "Ancestors" }
    ],
    "script": "czechrailways.js",
    "mimeType": "text/plain"
},
{
    "filter": [
        {
            "field": "carrierId",
            "match": "^1154$",
            "mimeType": "internal/uic9183",
            "scope": "Descendants"
        }
    ],
    "function": "parsePdfTicket",
    "mimeType": "application/pdf",
    "script": "czechrailways.js"
},
{
    "filter": [
        {
            "field": "carrierId",
            "match": "^1154$",
            "mimeType": "internal/uic9183",
            "scope": "Current"
        }
    ],
    "function": "parseUicTicket",
    "mimeType": "internal/uic9183",
    "script": "czechrailways.js"
},
{
    "filter": [
        {
            "field": "uid",
            "match": "@www\\.cd\\.cz$",
            "mimeType": "internal/event",
            "scope": "Current"
        }
    ],
    "function": "parseEvent",
    "mimeType": "internal/event",
    "script": "czechrailways.js"
},
{
    "filter": [
        {
            "field": "From",
            "match": "info@cd.cz",
            "mimeType": "message/rfc822",
            "scope": "Parent"
        }
    ],
    "function": "extractFullImage",
    "mimeType": "internal/qimage",
    "script": "generic.js"
}]
