{
  "nombre": "JSON - Generic Form",
  "body": [
    {
      "componente": "GenericForm",
      "submitFunction": "/Engine?paquete=std&clase=Std&metodo=insertO2M&data=&parametros=",
      "fields": [
        {
          "disabled": false,
          "label": "Id",
          "name": "actid",
          "type": "number",
          "validations": {
            "required": "true",
            "max": {
              "message": "El valor ingresado debe ser menor a 7",
              "value": 7
            },
            "min": {
              "message": "El valor ingresado debe ser mayor a 0",
              "value": 0
            },
            "regex": {
              "message": "",
              "value": ""
            }
          },
          "visible": false,
          "esId": true
        },
        {
          "disabled": false,
          "label": "Numero",
          "name": "actnro",
          "type": "number",
          "validations": {
            "required": "true",
            "maxLength": {
              "message": "El valor ingresado debe ser menor a 10",
              "value": 10
            },
            "min": {
              "message": "El valor ingresado debe ser mayor a 0",
              "value": 0
            },
            "regex": {
              "message": "",
              "value": ""
            }
          },
          "visible": true
        },
        {
          "disabled": false,
          "label": "Descripcion",
          "name": "actdesc",
          "type": "text",
          "validations": {
            "required": "true",
            "max": {
              "message": "El valor ingresado debe ser menor a 200",
              "value": 200
            },
            "min": {
              "message": "El valor ingresado debe ser mayor a 0",
              "value": 0
            },
            "regex": {
              "message": "",
              "value": ""
            }
          },
          "visible": true
        },
        {
          "disabled": false,
          "label": "Fecha Inicio",
          "name": "PlaFchIni",
          "type": "date",
          "validations": {
            "required": "El campo Fecha Inicio es requerido",
            "maxLength": {
              "message": "El largo del valor ingresado debe ser menor a 0",
              "value": 0
            },
            "minLength": {
              "message": "El largo del valor ingresado debe ser mayor a 0",
              "value": 0
            }
          },
          "visible": true
        },
        {
          "label": "Usuario",
          "name": "nomUsuario",
          "value": 47779,
          "type": "supercombobox",
          "tabla": "usr",
          "id": "UsrId",
          "text": "UsrNick",
          "validations": {
            "required": true
          },
          "visible": true,
          "disabled": false
        },
        {
          "disabled": false,
          "label": "Email",
          "name": "SucEMail",
          "type": "email",
          "validations": {
            "required": "El campo Email es requerido",
            "pattern": {
              "value": "^[\\w-\\.]+@([\\w-]+\\.)+[\\w-]{2,4}$",
              "message": "El campo Mail no cumple con el formato mail"
            }
          },
          "visible": true
        }
      ]
    }
  ]
}
