resourceConfig.json 3.76 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{
    "apiUrl": "https://api-dev.amiv.ethz.ch/",
    "events": {
        "keyDescriptors": {
            "title_de": "German Title",
            "title_en": "English Title",
            "location": "Location",
            "show_website": "Event is shown on the website",
            "priority": "Priority",
            "time_end": "Ending time",
            "time_register_end": "Deadline for registration",
            "time_start": "Starting time",
            "spots": "Spots available",
            "allow_email_signup": "Event open for non-AMIV members",
            "price": "Price",
            "signup_count": "Signed-up participants",
            "catchphrase_en": "Catchphrase in English. Announce and Website.",
            "catchphrase_de": "Schlagwort auf Deutsch",
            "description_de": "Beschreibung auf Deutsch",
            "description_en": "Description in English",
            "img_banner": "Banner as png",
            "img_poster": "Poster as png",
            "img_thumbnail": "Thumbnail as png",
            "show_infoscreen": "Does the event show on the infoscreen?",
            "img_infoscreen": "Infoscreen as png",
            "time_advertising_end": "Advertisment ends on",
            "time_advertising_start": "Advertisement starts on",
            "selection_strategy": "TODO what is this?",
Hermann's avatar
Hermann committed
29
            "show_announce": "Does it belong to announce?"
30
31
32
33
34
35
36
37
38
39
40
        },
        "tableKeys": [
            "title_de",
            "time_start",
            "time_end",
            "time_register_end",
            "show_website",
            "priority"
        ],
        "notPatchableKeys": [
            "signup_count"
Hermann's avatar
Hermann committed
41
42
43
44
45
        ],
        "searchKeys": [
            "title_de",
            "title_en",
            "location"
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
        ]
    },
    "users": {
        "keyDescriptors": {
            "legi": "Legi Number",
            "firstname": "First Name",
            "lastname": "Last Name",
            "rfid": "RFID",
            "phone": "Phone",
            "nethz": "nethz Account",
            "gender": "Gender",
            "department": "Department",
            "email": "Email"
        },
        "tableKeys": [
            "firstname",
            "lastname",
            "nethz",
            "legi",
            "membership"
        ],
        "searchKeys": [
            "firstname",
            "lastname",
            "nethz",
            "legi",
72
            "email"
73
74
75
76
77
        ],
        "notPatchableKeys": [
            "password_set"
        ]
    },
78
79
80
81
82
83
84
85
86
87
    "joboffers":{
        "keyDescriptors": {
            "company": "Company",
            "email": "Email",
            "description_en": "Job description",
            "description_de": "Job Beschreibung",
            "logo": "Logo as png",
            "pdf": "PDF provided by company",
            "time_end": "Application deadline",
            "title_de": "Stelle auf Deutsch",
rdoerge's avatar
rdoerge committed
88
            "title_en": "Position title in English",
89
90
91
92
93
94
95
96
97
            "show_website": "Is the job listed on the website?",
            "_id":"Job ID."
        },
        "tableKeys": [
            "title_de",
            "time_end",
            "show_website"
        ]
    },
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
    "groups": {
        "keyDescriptors": {
            "name": "Name"
        },
        "searchKeys": ["name"],
        "patchableKeys": ["name"]
    },
    "groupmemberships": {
        "patchableKeys": ["user", "group"]
    },
    "eventsignups": {
        "patchableKeys": ["event"],
        "tableKeys": [
            "_created",
            "user.lastname",
            "user.firstname",
            "email"
        ],
        "searchKeys": []
117
118
119
    },
    "sessions": {
        "searchKeys": []
Hermann's avatar
Hermann committed
120
121
122
123
124
125
126
127
128
    },
    "studydocuments": {
        "searchKeys": [
            "title",
            "lecture",
            "professor",
            "author",
            "uploader"
        ]
129
130
    }
}