update generate schema function

schema:
 - delete ‘$schema’ property
 - add ‘title’ property
add intro