{"$defs":{"AskFieldMode":{"description":"Ob ein Zusatzfeld bei der Helfer-Anmeldung abgefragt wird (F-15).","enum":["off","optional","required"],"title":"AskFieldMode","type":"string"},"MaterialListMode":{"description":"Art einer Mitbringliste (F-13, Review R19).\n\nquantity: Menge gleichartiger Beiträge (z.B. „10 l Waffelteig\") – Helfer\n          sagen Mengen zu, die Summe zählt.\nitems:    Feste Auswahl vordefinierter Einträge (z.B. Salatsorten) –\n          Helfer übernehmen einzelne Einträge per Mehrfachauswahl,\n          optional mit eigenen Zusatzeinträgen (allow_custom_items).\nfreeform: Freie Einträge – der Organisator gibt eine Ziel-Anzahl\n          Beiträge vor, Helfer beschreiben, was sie mitbringen; die\n          bisherigen Einträge sind für alle sichtbar (gegen Dopplungen).","enum":["quantity","items","freeform"],"title":"MaterialListMode","type":"string"},"ParticipantFieldType":{"description":"Feldtyp eines Zusatzfelds einer Teilnehmerliste (F-82).","enum":["text","textarea","number","date","checkbox","select"],"title":"ParticipantFieldType","type":"string"},"PlanArea":{"additionalProperties":false,"description":"Ein Bereich (Stand, Aufgabe) mit seinen Schichten.","properties":{"name":{"maxLength":255,"minLength":1,"title":"Name","type":"string"},"description":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"default":null,"description":"What helpers do here; shown on the sign-up page.","title":"Description"},"min_helpers":{"default":1,"description":"Helpers needed per shift of this area.","maximum":10000,"minimum":1,"title":"Min Helpers","type":"integer"},"max_helpers":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Upper limit per shift; omit if it equals min_helpers.","title":"Max Helpers"},"shifts":{"default":[],"items":{"$ref":"#/$defs/PlanShift"},"maxItems":100,"title":"Shifts","type":"array"}},"required":["name"],"title":"PlanArea","type":"object"},"PlanBringList":{"additionalProperties":false,"description":"Eine Mitbringliste in einer der drei Arten.","properties":{"name":{"maxLength":255,"minLength":1,"title":"Name","type":"string"},"description":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"default":null,"title":"Description"},"mode":{"$ref":"#/$defs/MaterialListMode","description":"items: a fixed selection, helpers take single items. quantity: one kind of thing, helpers pledge amounts (e.g. 10 litres of batter). freeform: helpers describe what they bring."},"items":{"default":[],"description":"Only for mode items.","items":{"$ref":"#/$defs/PlanItem"},"maxItems":500,"title":"Items","type":"array"},"allow_custom_items":{"default":false,"description":"Mode items: helpers may add their own items.","title":"Allow Custom Items","type":"boolean"},"quantity_needed":{"anyOf":[{"exclusiveMinimum":0,"maximum":1000000.0,"type":"number"},{"type":"null"}],"default":null,"description":"Mode quantity: the amount needed. Mode freeform: how many contributions are wanted.","title":"Quantity Needed"},"unit":{"anyOf":[{"maxLength":50,"type":"string"},{"type":"null"}],"default":null,"description":"Mode quantity, e.g. litres, cakes.","title":"Unit"},"delivery_location":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"title":"Delivery Location"},"deadline":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"description":"Bring it by this time (local) or by this day: 2027-06-12T13:00 or just 2027-06-12.","title":"Deadline"},"deadline_from":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"description":"Earliest drop-off time on the deadline day, e.g. 2027-06-12T11:00.","title":"Deadline From"},"allow_overbooking":{"default":false,"description":"Accept pledges beyond the target.","title":"Allow Overbooking","type":"boolean"}},"required":["name","mode"],"title":"PlanBringList","type":"object"},"PlanEvent":{"additionalProperties":false,"description":"Grunddaten der Veranstaltung.","properties":{"title":{"maxLength":255,"minLength":1,"title":"Title","type":"string"},"description":{"anyOf":[{"maxLength":600,"type":"string"},{"type":"null"}],"default":null,"description":"Shown on the sign-up page and the flyer.","title":"Description"},"date_start":{"description":"First day of the event, YYYY-MM-DD.","format":"date","title":"Date Start","type":"string"},"date_end":{"anyOf":[{"format":"date","type":"string"},{"type":"null"}],"default":null,"description":"Last day; omit for a one-day event.","title":"Date End"},"timezone":{"anyOf":[{"maxLength":50,"type":"string"},{"type":"null"}],"default":null,"description":"IANA name, e.g. Europe/Berlin. Omit to use the organiser's own time zone.","title":"Timezone"},"signup_mode":{"$ref":"#/$defs/SignupMode","default":"direct","description":"direct: helpers pick a shift themselves. availability_first: helpers say when they are free and the organiser assigns them."},"ask_phone":{"$ref":"#/$defs/AskFieldMode","default":"optional","description":"Whether helpers are asked for a phone number when they sign up."},"location":{"anyOf":[{"$ref":"#/$defs/PlanLocation"},{"type":"null"}],"default":null}},"required":["title","date_start"],"title":"PlanEvent","type":"object"},"PlanField":{"additionalProperties":false,"description":"Ein Zusatzfeld (Teilnehmerliste oder Helferangabe).","properties":{"label":{"maxLength":255,"minLength":1,"title":"Label","type":"string"},"type":{"$ref":"#/$defs/ParticipantFieldType","default":"text"},"required":{"default":false,"title":"Required","type":"boolean"},"options":{"default":[],"description":"Only for type select.","items":{"type":"string"},"maxItems":100,"title":"Options","type":"array"}},"required":["label"],"title":"PlanField","type":"object"},"PlanHelperField":{"additionalProperties":false,"description":"Zusätzliche Angabe bei der Helfer-Anmeldung.","properties":{"label":{"maxLength":255,"minLength":1,"title":"Label","type":"string"},"type":{"$ref":"#/$defs/ParticipantFieldType","default":"text"},"required":{"default":false,"title":"Required","type":"boolean"},"options":{"default":[],"description":"Only for type select.","items":{"type":"string"},"maxItems":100,"title":"Options","type":"array"},"is_group":{"default":false,"description":"At most one field per event: helpers pick the group they belong to (department, class …). Must be of type select and required.","title":"Is Group","type":"boolean"}},"required":["label"],"title":"PlanHelperField","type":"object"},"PlanItem":{"additionalProperties":false,"description":"Eintrag einer Mitbringliste mit fester Auswahl.","properties":{"name":{"maxLength":255,"minLength":1,"title":"Name","type":"string"},"quantity":{"default":1,"description":"How many of this item are needed.","maximum":9999,"minimum":1,"title":"Quantity","type":"integer"}},"required":["name"],"title":"PlanItem","type":"object"},"PlanLocation":{"additionalProperties":false,"description":"Veranstaltungsort – alles optional.","properties":{"name":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"title":"Name"},"street":{"anyOf":[{"maxLength":255,"type":"string"},{"type":"null"}],"default":null,"title":"Street"},"house_number":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"title":"House Number"},"postal_code":{"anyOf":[{"maxLength":20,"type":"string"},{"type":"null"}],"default":null,"title":"Postal Code"},"city":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"title":"City"},"region":{"anyOf":[{"maxLength":100,"type":"string"},{"type":"null"}],"default":null,"title":"Region"},"country":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"description":"ISO 3166-1 alpha-2 code, e.g. DE.","title":"Country"},"notes":{"anyOf":[{"maxLength":2000,"type":"string"},{"type":"null"}],"default":null,"title":"Notes"}},"title":"PlanLocation","type":"object"},"PlanParticipantList":{"additionalProperties":false,"description":"Eine Teilnehmerliste: Anmeldung für eine Aktivität, getrennt von den Helfern.","properties":{"name":{"maxLength":255,"minLength":1,"title":"Name","type":"string"},"description":{"anyOf":[{"maxLength":5000,"type":"string"},{"type":"null"}],"default":null,"title":"Description"},"max_participants":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Places available – per time slot if the list has slots. Omit for no limit.","title":"Max Participants"},"show_on_helper_form":{"default":false,"description":"Also point helpers to this list on their sign-up page.","title":"Show On Helper Form","type":"boolean"},"fields":{"default":[],"items":{"$ref":"#/$defs/PlanField"},"maxItems":30,"title":"Fields","type":"array"},"slots":{"default":[],"items":{"$ref":"#/$defs/PlanSlot"},"maxItems":30,"title":"Slots","type":"array"}},"required":["name"],"title":"PlanParticipantList","type":"object"},"PlanShift":{"additionalProperties":false,"description":"Eine Schicht: Beginn und Ende in Ortszeit der Veranstaltung.","properties":{"start":{"description":"Local time, e.g. 2027-06-12T14:00.","format":"date-time","title":"Start","type":"string"},"end":{"description":"Local time, after start; may be on the next day.","format":"date-time","title":"End","type":"string"},"min_helpers":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"description":"Only if this shift needs a different number of helpers than its area.","title":"Min Helpers"},"max_helpers":{"anyOf":[{"maximum":10000,"minimum":1,"type":"integer"},{"type":"null"}],"default":null,"title":"Max Helpers"},"tags":{"default":[],"description":"Up to three short keywords, e.g. the group that takes this shift.","items":{"type":"string"},"maxItems":3,"title":"Tags","type":"array"}},"required":["start","end"],"title":"PlanShift","type":"object"},"PlanSlot":{"additionalProperties":false,"description":"Zeitfenster einer Teilnehmerliste.","properties":{"start":{"description":"Local time, e.g. 2027-06-12T15:00 – or just the day, 2027-06-12.","format":"date-time","title":"Start","type":"string"},"end":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"default":null,"description":"Optional; after start.","title":"End"}},"required":["start"],"title":"PlanSlot","type":"object"},"SignupMode":{"enum":["direct","availability_first"],"title":"SignupMode","type":"string"}},"additionalProperties":false,"description":"Die ganze Plan-Datei.","properties":{"festcrew_plan":{"const":1,"description":"Format version; always 1.","title":"Festcrew Plan","type":"integer"},"language":{"anyOf":[{"enum":["de","en"],"type":"string"},{"type":"null"}],"default":null,"description":"Language the organiser uses: de or en. Decides the language of the confirmation e-mail.","title":"Language"},"event":{"$ref":"#/$defs/PlanEvent"},"areas":{"default":[],"items":{"$ref":"#/$defs/PlanArea"},"maxItems":60,"title":"Areas","type":"array"},"bring_lists":{"default":[],"items":{"$ref":"#/$defs/PlanBringList"},"maxItems":30,"title":"Bring Lists","type":"array"},"participant_lists":{"default":[],"items":{"$ref":"#/$defs/PlanParticipantList"},"maxItems":20,"title":"Participant Lists","type":"array"},"helper_fields":{"default":[],"items":{"$ref":"#/$defs/PlanHelperField"},"maxItems":30,"title":"Helper Fields","type":"array"}},"required":["festcrew_plan","event"],"title":"FestCrew event plan","type":"object","$schema":"https://json-schema.org/draft/2020-12/schema"}