def to_dict(self):
schema = super(Schema, self).to_dict()<EOL>schema['<STR_LIT>'] = "<STR_LIT>"<EOL>if self._id:<EOL><INDENT>schema['<STR_LIT:id>'] = self._id<EOL><DEDENT>if self._desc:<EOL><INDENT>schema['<STR_LIT:description>'] = self._desc<EOL><DEDENT>return schema<EOL>
Return the schema as a dict ready to be serialized.