@@ -0,0 +1,500 @@
+# This file is part of Indico.%0A# Copyright (C) 2002 - 2019 CERN%0A#%0A# Indico is free software; you can redistribute it and/or%0A# modify it under the terms of the MIT License; see the%0A# LICENSE file for more details.%0A%0Afrom __future__ import unicode_literals%0A%0Afrom indico.core.marshmallow import mm%0Afrom indico.modules.events.models.events import Event%0A%0A%0Aclass EventSchema(mm.ModelSchema):%0A    class Meta:%0A        model = Event%0A        fields = ('id', 'title', 'is_locked')%0A%0A%0Aevent_schema = EventSchema()%0A

Add Event schema