from apistar import typesystem
class Produto(typesystem.Object):
properties = {
'nome': typesystem.string(description='Nome, cara. Nome.', min_length=1, max_length=100),
'nota': Nota,
'tamanho': TamanhoDeProduto,
}
required = ['nome', 'nota', 'tamanho']