{
  "module_spec": {
     "module_name": "Xfrout",
     "config_data": [
       {
         "item_name": "transfers_out",
         "item_type": "integer",
         "item_optional": false,
         "item_default": 10
       },
       {
         "item_name": "transfer_acl",
         "item_type": "list",
         "item_optional": false,
         "item_default": [{"action": "ACCEPT"}],
         "list_item_spec":
         {
             "item_name": "acl_element",
             "item_type": "any",
             "item_optional": true
         }
       },
       {
         "item_name": "also_notify",
         "item_type": "list",
         "item_optional": true,
         "item_default": [],
         "list_item_spec":
         {
             "item_name": "also_notify_element",
             "item_type": "map",
             "item_optional": true,
             "item_default": {},
             "map_item_spec": [
               {
                   "item_name": "address",
                   "item_type": "string",
                   "item_optional": false,
                   "item_default": ""
               },
               {
                   "item_name": "port",
                   "item_type": "integer",
                   "item_optional": false,
                   "item_default": 0
               }
             ]
         }
       },
       {
         "item_name": "zone_config",
         "item_type": "list",
         "item_optional": true,
         "item_default": [],
         "list_item_spec":
         {
             "item_name": "zone_config_element",
             "item_type": "map",
             "item_optional": true,
             "item_default": { "origin": "" },
             "map_item_spec": [
               {
                   "item_name": "origin",
                   "item_type": "string",
                   "item_optional": false,
                   "item_default": ""
               },
               {
                   "item_name": "class",
                   "item_type": "string",
                   "item_optional": false,
                   "item_default": "IN"
               },
               {
                   "item_name": "transfer_acl",
                   "item_type": "list",
                   "item_optional": true,
                   "item_default": [{"action": "ACCEPT"}],
                   "list_item_spec":
                   {
                       "item_name": "acl_element",
                       "item_type": "any",
                       "item_optional": true
                   }
               }
             ]
         }
       }
      ],
      "commands": [
        {
          "command_name": "shutdown",
          "command_description": "Shut down Xfrout",
          "command_args": [
          {
            "item_name": "pid",
            "item_type": "integer",
            "item_optional": true
          }
        ]
        },
        { "command_name": "notify",
          "command_description": "Send notifies for zone",
          "command_args": [
          { "item_name": "zone_name",
            "item_type": "string",
            "item_optional": false,
            "item_default": "" },
          { "item_name": "zone_class",
            "item_type": "string",
            "item_optional": true,
            "item_default": "IN"
          } ]
        }
      ]
  }
}

