
Announcements
This is the json i'm parsing
[ { "id": "7", "category_id": { "id": "4", "name": "Zoom ( online )" }, "type": "simple", "title": "Gratis kartleggingssamtale-onlinemøte", "duration": "1200", "slot_length": "1800", "price": "0.00", "color": "#35991D", "deposit": "100%", "capacity_min": "1", "capacity_max": "1", "one_booking_per_slot": "0", "padding_left": "0", "padding_right": "0", "info": "", "start_time_info": "", "end_time_info": "", "same_staff_for_subservices": "0", "units_min": "1", "units_max": "1", "package_life_time": null, "package_size": null, "package_unassigned": "0", "appointments_limit": null, "limit_period": "off", "staff_preference": "order", "staff_preference_settings": "{\"period\":{\"before\":0,\"after\":0},\"random\":false}", "recurrence_enabled": "1", "recurrence_frequencies": "daily,weekly,biweekly,monthly", "time_requirements": "required", "collaborative_equal_duration": "0", "online_meetings": "zoom", "visibility": "public", "position": "0" }, ]
When i Autogenerate the Schema, I'm getting alot of errors when parsing it mostly saying :
{ "message": "Required properties are missing from object: location_id, staff_id, staff_any, service_id, custom_service_name, custom_service_price, start_date, end_date, extras_duration, internal_note, google_event_id, google_event_etag, outlook_event_id, outlook_event_change_key, outlook_event_series_id, online_meeting_provider, online_meeting_id, online_meeting_data, created_from, created_at, updated_at, app_id.", "lineNumber": 0, "linePosition": 0, "path": "[0]", "value": [ "location_id", "staff_id", "staff_any", "service_id", "custom_service_name", "custom_service_price", "start_date", "end_date", "extras_duration", "internal_note", "google_event_id", "google_event_etag", "outlook_event_id", "outlook_event_change_key", "outlook_event_series_id", "online_meeting_provider", "online_meeting_id", "online_meeting_data", "created_from", "created_at", "updated_at", "app_id" ], "schemaId": "#/items", "errorType": "required", "childErrors": [] },