class Model(psm.SchemaModel): field = psm.FloatField(nullable=False)
class Model(psm.SchemaModel): field = psm.FloatField(_max=10.12)
class Model(psm.SchemaModel): field = psm.FloatField(_min=-1.34)
class Model(psm.SchemaModel): field = psm.FloatField(forbidden=[1.1, 2.2, 3.3, 5.5])
class Model(psm.SchemaModel): field = psm.FloatField(allowed=[1.1, 2.2, 3.3, 5.5])
class Model(psm.SchemaModel): field = psm.FloatField(required=False)