The syntax is also noted near the top of the file as:
Code:
local sv = ZO_SavedVars:New(savedVariableTable, version, [, namespace], defaults [, profile])
I actually discovered it by glancing over the code and found a spot that "didn't look right". The example, I made up by working backwards through the code to build a case where something follows the syntax for the API, but throws an error when run.