Type Array et Object
Array
- fieldName: tableau1
type : array
fields :
#ajout d'un champs dans le tableau
- fieldName : age
type : integer
rules :
range:
min : 18
max : 98
- fieldName: tableau2
type : array
count : 2
fields : #ajout d'un tableau dans un tableau
fieldName : mailtest #tableau2 = ["test.gg@gmail.com", "tarif.cloud@yahoo.com"]
fakerType : email
Last updated