def state_schema(module=''):
 specs = state_argspec(module)
 schemas = []
 for (state_mod, state_spec) in specs.items():
  schemas.append(_argspec_to_schema(state_mod, state_spec))
 return schemas

def state_schema ( module = '' ) : specs = state_argspec ( module ) schemas = [ ] for ( state_mod , state_spec ) in specs . items ( ) : schemas . append ( _argspec_to_schema ( state_mod , state_spec ) ) return schemas
return a json schema for the given state function(s) .