@classmethod<EOL><INDENT>def to_dict(cls):<DEDENT>
d = dict()<EOL>for name, field in six.iteritems(cls._FIELDS_MAP):<EOL><INDENT>field_info = field.to_dict()<EOL>d[name] = field_info<EOL><DEDENT>return d<EOL>
format Validator to dict