Skip to content
Snippets Groups Projects
config.json 2.85 KiB
Newer Older
Hermann's avatar
Hermann committed
{
    "apiUrl": "https://api-dev.amiv.ethz.ch/",
            "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?",
            "show_announce": "Does it belong to announce?",
            "_id": "TODO Event ID how is this generated?"
            "time_start",
            "time_end",
            "time_register_end",
Hermann's avatar
Hermann committed
        "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",
            "department"
        ],
        "notPatchableKeys": [
            "password_set"
    },
    "groups": {
        "keyDescriptors": {
            "name": "Name"
        },
        "searchKeys": ["name"],
        "patchableKeys": ["name"]
    },
    "groupmemberships": {
        "patchableKeys": ["user", "group"]
    },
    "eventsignups": {
        "patchableKeys": ["event"],
        "tableKeys": [
            "_created",
            "user.lastname",
            "user.firstname",
            "email"
        ],
Hermann's avatar
Hermann committed
        "searchKeys": []