base schema