deutschebahn.json 1.47 KB
Newer Older
1
2
[
    {
3
        "filter": [
4
            {
5
                "field": "From",
6
                "match": "buchungsbestaetigung@bahn.de",
7
                "mimeType": "message/rfc822",
8
                "scope": "Ancestors"
9
10
11
            },
            {
                "match": "uic:0080",
12
                "field": "reservationFor.provider.identifier",
13
14
                "mimeType": "application/ld+json",
                "scope": "Descendants"
15
16
17
            },
            {
                "match": "vdv:6260",
18
                "field": "reservationFor.provider.identifier",
19
20
                "mimeType": "application/ld+json",
                "scope": "Descendants"
21
            }
22
        ],
23
        "function": "parsePdf",
24
        "script": "deutschebahn.js",
25
        "mimeType": "application/pdf"
26
27
    },
    {
28
29
        "filter": [
            {
30
                "field": "From",
31
                "match": "UNITTEST-buchungsbestaetigung@bahn.de",
32
                "mimeType": "message/rfc822",
33
                "scope": "Ancestors"
34
35
36
37
            }
        ],
        "function": "parseText",
        "script": "deutschebahn.js",
38
        "mimeType": "text/plain"
39
40
41
42
    },
    {
        "filter": [
            {
43
                "field": "From",
44
                "match": "buchungsbestaetigung@bahn.de",
45
                "mimeType": "message/rfc822",
46
                "scope": "Ancestors"
47
48
49
            }
        ],
        "function": "parseCancellation",
50
        "script": "deutschebahn.js",
51
        "mimeType": "text/html"
52
53
    }
]