@api_endpoint
    def schema(self):
        return {
            name: schema
            for name, schema
            in self.field_schema()
        }
Return a representation of the schema for this collection.
dataset/ETHPy150Open django-ddp/django-ddp/dddp/api.py/Collection.schema