What's Supported?
Django Form to JSON Schema
A Django Form containing any number of the following Django Forms field classes.
BooleanFieldCharFieldChoiceFieldDateFieldTimeFieldDateTimeFieldDecimalFieldEmailFieldFloatFieldIntegerFieldIPAddressFieldGenericIPAddressFieldSlugFieldURLField
These field take a series of arguments. Here is a list of the field arguments supported so far:
Arguments common to all field classes
help_textlabelinitialrequired
Arguments common to string-based field classes
min_lengthmax_length
Arguments common to number-based field classes
min_valuemax_value
ChoiceField argument
choices
WTForm to JSON Schema
A WTForm containing any of the following WTForms field classes.
BooleanFieldDateFieldDateTimeFieldDecimalFieldFloatFieldIntegerFieldRadioFieldSelectFieldSelectMultipleFieldStringFieldTextField(deprecated, will be removed in WTForms 3.0)TextAreaField
Unsupported:
FieldFieldListFileFieldFormFieldHiddenFieldPasswordFieldSelectFieldBaseSubmitField
These field take a series of arguments. Here is a list of the field arguments supported so far:
descriptionlabeldefaultvalidators
The following validators are supported:
LengthNumberRangeOptionalRegexp