add schemas to options
add doc for schema
fix schema options