{
  "name":"registry_anagrafica",
  "relations":{
    "FK_registryaddress_registry":{
      "parentTable":"registry",
      "parentCols":"idreg",
      "childTable":"registryaddress",
      "childCols":"idreg"
    },
    "FK_registryreference_registry":{
      "parentTable":"registry",
      "parentCols":"idreg",
      "childTable":"registryreference",
      "childCols":"idreg"
    }
  },
  "tables":{
    "registry":{
      "name":"registry",
      "key":"idreg",
      "columns":{
        "idreg":{
          "caption":"idreg",
          "name":"idreg",
          "ctype":"Int32",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "active":{
          "caption":"active",
          "name":"active",
          "ctype":"String",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "annotation":{
          "caption":"annotation",
          "name":"annotation",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "badgecode":{
          "caption":"badgecode",
          "name":"badgecode",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "birthdate":{
          "caption":"birthdate",
          "name":"birthdate",
          "ctype":"DateTime",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "cf":{
          "caption":"cf",
          "name":"cf",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "ct":{
          "caption":"ct",
          "name":"ct",
          "ctype":"DateTime",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "cu":{
          "caption":"cu",
          "name":"cu",
          "ctype":"String",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "extmatricula":{
          "caption":"extmatricula",
          "name":"extmatricula",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "foreigncf":{
          "caption":"foreigncf",
          "name":"foreigncf",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "forename":{
          "caption":"forename",
          "name":"forename",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "gender":{
          "caption":"gender",
          "name":"gender",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idcategory":{
          "caption":"idcategory",
          "name":"idcategory",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idcentralizedcategory":{
          "caption":"idcentralizedcategory",
          "name":"idcentralizedcategory",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idcity":{
          "caption":"idcity",
          "name":"idcity",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idmaritalstatus":{
          "caption":"idmaritalstatus",
          "name":"idmaritalstatus",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idnation":{
          "caption":"idnation",
          "name":"idnation",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idregistryclass":{
          "caption":"idregistryclass",
          "name":"idregistryclass",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idtitle":{
          "caption":"idtitle",
          "name":"idtitle",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "location":{
          "caption":"location",
          "name":"location",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "lt":{
          "caption":"lt",
          "name":"lt",
          "ctype":"DateTime",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "lu":{
          "caption":"lu",
          "name":"lu",
          "ctype":"String",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "maritalsurname":{
          "caption":"maritalsurname",
          "name":"maritalsurname",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "p_iva":{
          "caption":"p_iva",
          "name":"p_iva",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "rtf":{
          "caption":"rtf",
          "name":"rtf",
          "ctype":"Byte[]",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "surname":{
          "caption":"surname",
          "name":"surname",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "title":{
          "caption":"title",
          "name":"title",
          "ctype":"String",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "txt":{
          "caption":"txt",
          "name":"txt",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "residence":{
          "caption":"residence",
          "name":"residence",
          "ctype":"Int32",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idregistrykind":{
          "caption":"idregistrykind",
          "name":"idregistrykind",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "authorization_free":{
          "caption":"authorization_free",
          "name":"authorization_free",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "multi_cf":{
          "caption":"multi_cf",
          "name":"multi_cf",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "toredirect":{
          "caption":"toredirect",
          "name":"toredirect",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idaccmotivedebit":{
          "caption":"idaccmotivedebit",
          "name":"idaccmotivedebit",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idaccmotivecredit":{
          "caption":"idaccmotivecredit",
          "name":"idaccmotivecredit",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "ccp":{
          "caption":"ccp",
          "name":"ccp",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "flagbankitaliaproceeds":{
          "caption":"flagbankitaliaproceeds",
          "name":"flagbankitaliaproceeds",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idexternal":{
          "caption":"idexternal",
          "name":"idexternal",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "ipa_fe":{
          "caption":"ipa_fe",
          "name":"ipa_fe",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "flag_pa":{
          "caption":"flag_pa",
          "name":"flag_pa",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "sdi_norifamm":{
          "caption":"sdi_norifamm",
          "name":"sdi_norifamm",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "sdi_defrifamm":{
          "caption":"sdi_defrifamm",
          "name":"sdi_defrifamm",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        }
      },
      "rows":[

      ],
      "autoIncrementColumns":{

      }
    },
    "registryaddress":{
      "name":"registryaddress",
      "key":"idreg,start,idaddresskind",
      "columns":{
        "idreg":{
          "caption":"idreg",
          "name":"idreg",
          "ctype":"Int32",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "start":{
          "caption":"start",
          "name":"start",
          "ctype":"DateTime",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "active":{
          "caption":"active",
          "name":"active",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "address":{
          "caption":"address",
          "name":"address",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "annotations":{
          "caption":"annotations",
          "name":"annotations",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "cap":{
          "caption":"cap",
          "name":"cap",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "ct":{
          "caption":"ct",
          "name":"ct",
          "ctype":"DateTime",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "cu":{
          "caption":"cu",
          "name":"cu",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "flagforeign":{
          "caption":"flagforeign",
          "name":"flagforeign",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idcity":{
          "caption":"idcity",
          "name":"idcity",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idnation":{
          "caption":"idnation",
          "name":"idnation",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "location":{
          "caption":"location",
          "name":"location",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "lt":{
          "caption":"lt",
          "name":"lt",
          "ctype":"DateTime",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "lu":{
          "caption":"lu",
          "name":"lu",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "officename":{
          "caption":"officename",
          "name":"officename",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "stop":{
          "caption":"stop",
          "name":"stop",
          "ctype":"DateTime",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "idaddresskind":{
          "caption":"idaddresskind",
          "name":"idaddresskind",
          "ctype":"Int32",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "recipientagency":{
          "caption":"recipientagency",
          "name":"recipientagency",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        }
      },
      "rows":[

      ],
      "autoIncrementColumns":{

      }
    },
    "registryreference":{
      "name":"registryreference",
      "key":"idreg,idregistryreference",
      "columns":{
        "idreg":{
          "caption":"idreg",
          "name":"idreg",
          "ctype":"Int32",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "idregistryreference":{
          "caption":"idregistryreference",
          "name":"idregistryreference",
          "ctype":"Int32",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "ct":{
          "caption":"ct",
          "name":"ct",
          "ctype":"DateTime",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "cu":{
          "caption":"cu",
          "name":"cu",
          "ctype":"String",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "email":{
          "caption":"email",
          "name":"email",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "faxnumber":{
          "caption":"faxnumber",
          "name":"faxnumber",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "flagdefault":{
          "caption":"flagdefault",
          "name":"flagdefault",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "lt":{
          "caption":"lt",
          "name":"lt",
          "ctype":"DateTime",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"d"
        },
        "lu":{
          "caption":"lu",
          "name":"lu",
          "ctype":"String",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "mobilenumber":{
          "caption":"mobilenumber",
          "name":"mobilenumber",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "msnnumber":{
          "caption":"msnnumber",
          "name":"msnnumber",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "phonenumber":{
          "caption":"phonenumber",
          "name":"phonenumber",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "referencename":{
          "caption":"referencename",
          "name":"referencename",
          "ctype":"String",
          "allowDbNull":false,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "registryreferencerole":{
          "caption":"registryreferencerole",
          "name":"registryreferencerole",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "rtf":{
          "caption":"rtf",
          "name":"rtf",
          "ctype":"Byte[]",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "skypenumber":{
          "caption":"skypenumber",
          "name":"skypenumber",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "txt":{
          "caption":"txt",
          "name":"txt",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "userweb":{
          "caption":"userweb",
          "name":"userweb",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "passwordweb":{
          "caption":"passwordweb",
          "name":"passwordweb",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "saltweb":{
          "caption":"saltweb",
          "name":"saltweb",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "iterweb":{
          "caption":"iterweb",
          "name":"iterweb",
          "ctype":"Int32",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        },
        "activeweb":{
          "caption":"activeweb",
          "name":"activeweb",
          "ctype":"String",
          "allowDbNull":true,
          "isDenyNull":false,
          "isDenyZero":false,
          "format":"g"
        }
      },
      "rows":[

      ],
      "autoIncrementColumns":{

      }
    }
  }
}