move schema to schemainfo